View Full Version : Netscape 4.x is dropping the session id??
For anybody that is familiar with VB session objects. I am running a site using the session objects and they are based on the sesison id that the browser gives the the user. It seems, as far as I can tell, that Netscape 4.77 drops the current id and gets a new one when you load pages into a frameset or load a frameset. Deos anybody know any mroe information about this, or how I can prevent Netscape from doing this?
Thanks,
//ShAnE
For anybody that's itnerested, I found an article on the microsoft knowledge base http://support.microsoft.com/support/kb/articles/Q178/0/37.ASP stating that this is also a problem with ie 4 and 5.
I checked my site with IE5 and Netscape 4.75, neither of which had a problem, but ns4.77 just couldn't handle it. It seems that when you cross into a frameset, netscape 4.77 will assign a new session id.
To fix this problem, according to microsoft, you should replace
Session("MyVariable") = "MyValue"
with:
Response.Cookies("MyVariable") = "MyValue"
Response.Cookies("MyVariable").Expires = Now() + 1 '24 hours
//ShAnE
vBulletin® v3.6.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.