Re: Dealing with sessions on explorer 7
- From: Göran Andersson <guffa@xxxxxxxxx>
- Date: Tue, 17 Jun 2008 23:35:49 +0200
tshad wrote:
How do you deal with sessions on IE7?
Each tab seems to share the same session? This is a real problem as a person could go to the site, leave the site open and open another page and be still logged in and share the session information, which I definately don't want to do.
I'm afraid that's unavoidable. A user can always open more than one window/tab.
You could partly protect yourself from this if you store the creation time of the last page in the Session object, and also in the page so that you can send it back with every request. That way you can check if a request comes from the page that was last created.
In IE6, this wasn't a problem as each instance of the browser would have it's own session ID and information.
The same problem existed, you only didn't notice it. You can open a new window instead of starting a new instance (shift-clicking or selecting New Window from the File menu), and the new window is in the same session. As far as I know, it has been the same ever since version 1.
If you use Firefox, there is only one instance, so there is only one session. If you try to start another instance, it will just open another window in the existing instance.
--
Göran Andersson
_____
http://www.guffa.com
.
- References:
- Dealing with sessions on explorer 7
- From: tshad
- Dealing with sessions on explorer 7
- Prev by Date: Re: cause webpage one to reload when webpage two is closed.
- Next by Date: Re: Dealing with sessions on explorer 7
- Previous by thread: Dealing with sessions on explorer 7
- Next by thread: Re: Dealing with sessions on explorer 7
- Index(es):
Relevant Pages
|