Getting session info from different port
Posted: Tue May 22, 2007 10:35 am
Hello,
I have two web servers running: Apache for PHP and Tomcat for our web portal both run on different ports. I am trying to find a way of getting session information obtained when user logs in on Tomcat port 80 and obtained it with PHP using $_SESSION['USER_ID'] but Apache runs on 8080 and so session is not obtained.
Could somebody please tell me if there is an accessor method with PHP that can do this? I am new to PHP but have found there are a lot of handy methods which do things which I thought were at first difficult to implement separately.
Please, let me know,
Thank you,
Victor.
I have two web servers running: Apache for PHP and Tomcat for our web portal both run on different ports. I am trying to find a way of getting session information obtained when user logs in on Tomcat port 80 and obtained it with PHP using $_SESSION['USER_ID'] but Apache runs on 8080 and so session is not obtained.
Could somebody please tell me if there is an accessor method with PHP that can do this? I am new to PHP but have found there are a lot of handy methods which do things which I thought were at first difficult to implement separately.
Please, let me know,
Thank you,
Victor.