Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session variables stay when Firefox is closed, but not in IE 1

Status
Not open for further replies.

Billkamm

Programmer
Feb 9, 2006
74
US
When I close my IE 6 browser and re-open and navigate to my ASP.Net website all of my session variables are null.
In Firefox 2 when I close the browser and re-open and navigate to my ASP.Net website all of the previous session variables are still there.

I want the session variables to be cleared when the user closes their Firefox 2 browser. The default options in Firefox 2 do not have this occur. Is there a way via code or web.config to make sure that these sessions variables (cookies on the client-side) get cleared whenever the browser is closed?
 
hmm,

i could suggest a work around but then i really dont know why firefox is behaving like this. you may want to check this up with some firefox forums.

the workaround being:
try using cookieless sessions...

Known is handfull, Unknown is worldfull
 
dude,

i went through that post link that u sent.

one observation:
Even MSIE considers all windows opened as one instance if Ctrl + N is used to open the new windows or opened by using links...

Known is handfull, Unknown is worldfull
 
I was unaware I launch new MSIE windows by running iexplore.exe and new firefox window by running firefox.exe. I guess MSIE allows you to have multiple instance of iexplore.exe by default and Firefox does not.

Thanks for the tip.
 
>>I was unaware I launch new MSIE windows by running iexplore.exe and new firefox window by running firefox.exe

yup, that seems to be the problem...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top