You could probably use the HTTP session to share data on the server-side
ala:
Java -
get = session.getAttribute("myvariablename");
set = session.setAttribute("myvariablename", "hello world");

PHP -
get = $_SESSION['myvariablename'];
set = $_SESSION['myvariablename'] = 'hello world';

CF - I have no idea..

Paul

On 2/9/07, Ruben Waitz <[EMAIL PROTECTED]> wrote:

 Hello,

I am not so familiar with Java (but trying). So I was wondering....

Picture this, there is a Tomcat server running 3 servlets:
 - Red5 servlet;
- PHP servlet version;
- Railo servlet (=ColdFusion branch);
- ...... servlet

Is there a way to share data between those servlets?
- I'am thinking of client management (J2EE cookies?) such a
login-credentials;
- "Server variables" like "the amount of connected Red5-clients";

Why am I asking this?
Well, that way it's possible to make a webapp in PHP which arranges user
authentication. That way the Red5 servlet can easily use this
authentication-state. Another advantage is that PHP can have access to
Red5's "getClients().size()".

Thanks!

Ruben


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




--
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to