By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,813 Members | 2,351 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,813 IT Pros & Developers. It's quick & easy.

session_state fires again

P: n/a
I am working with an asp.net app and I am unable to figure out why my
session_start event gets fired when I navigate in my site using
Response.redirect or window.location.href (no postbacks yet).

Interestingly, my session ID remians same but I have lost my session
variables. Further, after I have done atleast one postback, this problem goes
away.
I have session state enabled on IIS 5.0 running on a win2K professional
version and I am using IE 6.0 sp1. Cookes are enabled too.

any ideas?
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Are you sure the Session is started? Repsonse.Redirect can skip over sending
headers that would init the session cookie in the browser.

See:
http://blogs.msdn.com/bleroy/archive...03/207486.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
I am working with an asp.net app and I am unable to figure out why my
session_start event gets fired when I navigate in my site using
Response.redirect or window.location.href (no postbacks yet).

Interestingly, my session ID remians same but I have lost my session
variables. Further, after I have done atleast one postback, this
problem goes
away.
I have session state enabled on IIS 5.0 running on a win2K
professional
version and I am using IE 6.0 sp1. Cookes are enabled too.
any ideas?

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.