Search This Blog. Asp.Net Session variable not set on Redirect().By default, calling Response.Redirect(string Url) will terminate the response thread, meaning your session variable will not get set, only the redirect header gets sent to the client. When is the data lost from Session variables in ASP .NET? Share this post. Link to post.Yes that is true. Always check to make sure the session variable is not null. If you do this, you will not have any problems. You could Google that it seems to be a good and very low cost store front that uses Microsoft technology such as IIS, ASP.NET, VB, and SQL Server Express.My problem comes on Page 3 when I try to incorporate the Session variable into an existing Server Control Recommendvb.net - ASP.NET session variables. PC could share the same session variable and update it, therefore producing random results. I would expect there to always be two separate sessions with two separate sets of session variables. ASP.
NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1.