ASP.NET session variables not being retained I have two web forms in ASP.net. In the first page is set a session variable like so: