If you store your session vars in database, there will be no problem with retrieving sessions vars... You even can use native php4 functions for handling sessions, storing them in DB... Look in php manual for session_set_save_handler() function, or write your completely own code for db sessions.
P.S. By the way, anyone knows, is there possible to get access to other sessions' session variables, I mean to the variables, which are stored during other sessions, for instance, in order to find out, how many user are currently browsing my site. If I stored my sesss vars in DB, there wouldn't be any problem with this, but I store them using default php4 functions (in tmp dir in files and so on)... "Chris" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I have two servers with Apache PHP - carrying out different tasks. > > However, I have got a task that requires one application to use both > servers. One of the units holds a bunch of session vars - which I would like > to transfer to the other unit, when scripts on this second unit are called. > > What is the best way to do this? > > Clearly, I don't want to do this as a list of vars in the URL - some of the > vars are sensitive. > > I would appreciate any comments. > Chris > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php