Posts Tagged ‘ASP.NET’

The SessionId is different with every request.

July 17, 2009

This problem can because nothing was written into the session and therefore the session is forgotten with the end of the request.
What you can actually do is to save something into the session during the request and everyting should work fine.
For example:
this.Page.Session[“dummy”] = DateTime.Now;
There are also some other good recommendations and gotchas here: