Link to home
Start Free TrialLog in
Avatar of d_p2
d_p2

asked on

combine PHP and JSP

Hi All,

My web site is made up by PHP and jsp.  They use different sessions.  Therefore is there any method that can integrate them such that they use the same session?

Thanks a lot!

regards,
dp
ASKER CERTIFIED SOLUTION
Avatar of cheekycj
cheekycj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of d_p2
d_p2

ASKER

hm... what if i have a load balancer and 2 web servers?  How can i guarantee the unique session id?

Thanks a lot!

regards,
dp
You would have to separate your DB to a separate server so both webservers will use it.  And to uniquely gauruntee the session id use apache's session id generator or use your own algorithm that will incorporate the server name/id in it..

CJ
Avatar of d_p2

ASKER

CJ,

Great!
Thanks a lot!

regards,
dp
Glad I could help, thanx for the "A"

CJ
Avatar of d_p2

ASKER

Welcome ^_^