Posted by Tom Peel on 02/16/06 16:58
We have two PHP applications on a website. We have one user who accesses
both applications from two browsers (Mozilla in this instance) on one PC
at the same time, and it appears that the session variables from one
session are turning up in the other application, leading to unexpected
and unpredictable behaviour.
Reading the manual, it would appear that this is a result of the
session being stored as a cookie on the client PC.
It would appear that we can control this behaviour by turning
session.use_cookies TRUE or FALSE in php.ini. However we would prefer
not to do this because of possible side effects and maintenance issues.
The manual suggests that session data can be sent in a URL, but does
not explain further. Can someone explain how this is done?
Another idea we had is to ensure that session variables are
application-unique. Again there is a long-term maintenance issue.
Any recommendations?
TIA
T.
[Back to original message]
|