Hey guys,
Using sessions for a small web app. User gets session ID on login which is then used to track the users details.
Hitting my head against the old "Multiple Window of a Single Browser Instance". To recap - new instance of a browser (say from Start -> IE) creates a new session in the new memory area for the new instance (phew!)
However, a new window of an existing instance (In IE File -> New -> Window) uses the same memory space. So if I log in in the browser, then open a new window of the browser and log in with another user, both windows will have their sessions set to the new browser, which will confuse the first browser into "tracking" the new user.
Is there anyway to prevent this. I get the session at log in, save it to a database and use it to load the user details etc when they visit new pages until it is removed at log out. Is there anything else I could save to try to keep track of the users.
Cheers!
Relisys
Using sessions for a small web app. User gets session ID on login which is then used to track the users details.
Hitting my head against the old "Multiple Window of a Single Browser Instance". To recap - new instance of a browser (say from Start -> IE) creates a new session in the new memory area for the new instance (phew!)
However, a new window of an existing instance (In IE File -> New -> Window) uses the same memory space. So if I log in in the browser, then open a new window of the browser and log in with another user, both windows will have their sessions set to the new browser, which will confuse the first browser into "tracking" the new user.
Is there anyway to prevent this. I get the session at log in, save it to a database and use it to load the user details etc when they visit new pages until it is removed at log out. Is there anything else I could save to try to keep track of the users.
Cheers!
Relisys