R
Raterus
Howdy,
I have one IIS Application, with asp/asp.net pages. I set a cookie like so in an ASP page.
Response.Cookies("AuthCookie")("hash") = md5(username & Application("HashCode")) Response.Cookies("AuthCookie")("username") = username
Then I response.redirect to my asp.net page, which is protected by Forms Authentication, so Application_AuthenticateRequest Fires..and I try to access this cookie like so..
Dim authCookie As HttpCookie = Context.Request.Cookies("AuthCookie")
....Sometimes the cookie is there ...Sometimes it isn't there
Very Confusing.
The site always stays in one browser window, I've tried messing with cookie security, without success. I've also noticed that along with this cookie, lots of other cookies dissapear, like the session cookies asp/asp.net sets.
Any ideas, this one has me baffled..?
--Michael
I have one IIS Application, with asp/asp.net pages. I set a cookie like so in an ASP page.
Response.Cookies("AuthCookie")("hash") = md5(username & Application("HashCode")) Response.Cookies("AuthCookie")("username") = username
Then I response.redirect to my asp.net page, which is protected by Forms Authentication, so Application_AuthenticateRequest Fires..and I try to access this cookie like so..
Dim authCookie As HttpCookie = Context.Request.Cookies("AuthCookie")
....Sometimes the cookie is there ...Sometimes it isn't there
Very Confusing.
The site always stays in one browser window, I've tried messing with cookie security, without success. I've also noticed that along with this cookie, lots of other cookies dissapear, like the session cookies asp/asp.net sets.
Any ideas, this one has me baffled..?
--Michael