is possible to send session information from one PHP script to another if each are

Liz

New member
running their own sesions? I have a website that has two programs running on it. One is a login manager and the other is a scheduling thing. Trouble is the Scheduling thing ALSO has a login manager which it uses to keep track of who' is who.
So.. I 've gotten as far as being able to populate the scheduler's database tables with the correct information from the login manager, and I have figured out that the best way for me to ensure that nothing goes wrong is simply modify and populate the actual fields in the scheduler's html login form and click go with a java snippet. All of that works fine using variables called from INSIDE either script, but not between them, This all works, but ONLY if I can get the bkaking $_SESSION['user_name'] from one program to another. Once I have that, the rest is trivial, I just can't seem to get the variable from the login manager over to the scheduler. Is this because they both use sessions. If so.. can I start a third session and just pass that variable, or can you only have one session per script or some such..?
 
Back
Top