I think this has something to do with Global.asax being absent. I remember having this problem in the past but cannot remember what caused it. I do remember that until I figured it out I was storing something in the Session right off the bat, even though I would never use it. That kept the ID from bouncing around
Page_Load
{
if ( !IsPostBack )
Session["MichiganSucks"] ="True";
}
I have encountered this problem in the past and found that the Session.SessionId keeps on changing till you assign a value to at least one session variable. This problem has nothing to do with Async updates. Trye assigning a value at least one variable.
I have encountered this problem in the past and found that the Session.SessionId keeps on changing till you assign a value to at least one session variable. This problem has nothing to do with Async updates. Try assigning a value at least one variable.
That's it! Marking MichiganSucks seems to work!

Hello.
Rama is correct. Session ID will only be maintained after adding something to the session.
No comments:
Post a Comment