View Full Version : Session problem

02-05-2010, 07:40 AM

I have a problem when dealing with sessions in php.
I have hosted few application on same server.
When i open 2 applications in the same browser, session values are shared.
for example: i have application A and B. both the application has same authorization procedure but are connected to different database. After i login, the username and userid are shared between 2 application.
If i log out from 1 application both are signed out automatically.

how can i avoid it?

Thanks in advance.

Phil Jackson
02-05-2010, 09:35 AM
long time since i've used sessions but im guessing its to do with you opening a new tab using the same browser? Well I believe thats the main jist of using sessions. If it is doing the same using a different browser ( which i dont think it will ) you could do something like;


just thinking out loud.