I developed a web-based application. in that only registered user only able to login. my problem is..,
Suppose, logged into the site by the user x , and open another browser and logged into as another user called y,(both are registered users) then, when i open the first browser do some action over there by clicking the link or by just click refresh icon, then second user details are appearing in the first browser . This is happing in Mozilla FireFox only. In IE i am not getting this .
I tried with firefox 1.0.4 and 1.0.6. In both cases, this is happing. Why this is happening??
-
sessiontimeout (3 messages)
- Posted by: praveen kumar
- Posted on: September 17 2005 03:20 EDT
Threaded Messages (3)
- Maybe because of the use of cookie for session tracking by S??bastien Tardif on September 17 2005 23:16 EDT
- Maybe because of the use of cookie for session tracking by sawan parihar on September 21 2005 03:37 EDT
- sessiontimeout | Abhijeet Mahalkar by abhijeet mahalkar on September 27 2005 04:00 EDT
-
Maybe because of the use of cookie for session tracking[ Go to top ]
- Posted by: S??bastien Tardif
- Posted on: September 17 2005 23:16 EDT
- in response to praveen kumar
Maybe because of the use of cookie for session tracking, so the second session change the same cookie created by the first session. -
Maybe because of the use of cookie for session tracking[ Go to top ]
- Posted by: sawan parihar
- Posted on: September 21 2005 03:37 EDT
- in response to S??bastien Tardif
Your web application is on what technology. Are you using struts?
How are you opening the second browser. I mean are you doing CTRL-N.? -
sessiontimeout | Abhijeet Mahalkar[ Go to top ]
- Posted by: abhijeet mahalkar
- Posted on: September 27 2005 04:00 EDT
- in response to praveen kumar
If you are using cookies for session management. Name the cookies with the name of user+some counter. when ever you create a cookie it creates the file in temp internet files directory. Where it may be overwriding the existing cookie of user X.
You have to manage this through cookies or directly use URL rewriting session mechanism for session tracking.
regards
Abhijeet Mahalkar.