how to detect the user who open the new browser.
Posted: Sat Feb 28, 2004 11:12 am
oh...i have a big problem in mozilla browser~~~
i want to know how to detect the user open a new mozilla browser. Becuase i found that no matter u open how many mozilla browsers , its
share the session_id!!!
becasue my program has cookie to save user login name and password, so after user click the logout button, user should be login again unless he/she open the new browser.
now because of the cookie, i can't logout!! so i set the session when user logout..if this session empty, cookie will take the login action, otherwise cookie won't do it. In mozilla browser, it can't work even i close the mozilla browser and open again, the session still here, so the cookie can't take the action..
Thank you very much
I hope all of you know what i mean and problem:
i just want empty the session when user close the mozilla browser, or
detect user open a new browser
i want to know how to detect the user open a new mozilla browser. Becuase i found that no matter u open how many mozilla browsers , its
share the session_id!!!
becasue my program has cookie to save user login name and password, so after user click the logout button, user should be login again unless he/she open the new browser.
now because of the cookie, i can't logout!! so i set the session when user logout..if this session empty, cookie will take the login action, otherwise cookie won't do it. In mozilla browser, it can't work even i close the mozilla browser and open again, the session still here, so the cookie can't take the action..
Thank you very much
I hope all of you know what i mean and problem:
i just want empty the session when user close the mozilla browser, or
detect user open a new browser