Click here to Skip to main content
15,887,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I used forms authentication for my website. In IE itts working fine.

I will the explain the scenario where I got structed.

Do the following:

1. open the login page.
2. Enter the credentials, it will be redirected to the requested page.
3. Copy the URL and try to open it in the new browser(google chrome/ firefox).
4. Its allowing to open the page without redirecting to the login page.

How to fix this bug? I tried to debug also, the session values are not clearing in Google chrome & firefox whereas in IE, the session values are clearing.

Please help me out.... Its very urgent.


Regards,
Jyo.
Posted

1 solution

It's not a bug, it's a feature.
Chrome and Firefox (and most browsers) maintain the session. This is because they are single process browsers (new windows do not create a new process). IE is a multi-process browser, new windows start a new process. You'll find the same behaviour in IE if you open multiple tabs, instead of multiple windows.
 
Share this answer
 
Comments
Sandeep Mewara 12-May-10 2:23am    
Adding to that, i think IE8 too added itself to that single processor browser category. Thus, IE8 too maintains session across multiple instances of browsers/tabs. Correct?
Michel Godfroid 12-May-10 2:26am    
I think it does. I switched to chrome ages ago :-)
Dhiraj&Devesh 12-May-10 5:51am    
thank u for ur reply...
but its a security issue right. It should not open like that... Take an example, some of the bank sites is not allowing like this.
So can u plz give me the alternate solution for this....
Michel Godfroid 12-May-10 6:06am    
The bank sites use https, not http. https session are not shared.
Dhiraj&Devesh 12-May-10 6:45am    
My Website is also having the SSL(https) only. In IE its working fine, but for other browsers like chrome and firefox not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900