Click to See Complete Forum and Search --> : windows sharing session variables


Deeps
03-17-2000, 06:13 AM
hi ,


suppose i have a email application. I have login page and when the user is
sucessfully logged in i create session variable to store the this unique
loginname , which is used as refrence to display the new msgs, other folders
etc.

now what i actually do is

opens a brower , load the login page login as a user1, and it displays a
page which has some links to inbox , other folders etc. now i opens another
window using File->New Window from the menubar of this window and the new
window is opened with same page displayed in the first window.i log out and
login as user2 in the second window.

Now i leave the second window and come to the first window clicks on the
link to inbox for user1. but i can see only user2 's inbox.

this problem arises b'cos both windows are sharing the Session varibles.


How i can force to start a new Session when it is opened in a new window.


this will not happen if open a new browser instance.

Deeps