Session Variables -
11-21-2007
, 08:39 AM
I have set a session variable in ASP page, and I am trying to retrieve it via
ASPX page. When checking to see if the value is null, it returns true. If I
add a check in another ASP page, the check returns false.
I am updating a vendors page to add a security banner, and the page was
written in C#.
ASP <%Session("ABC") = "Something" %>
ASPX <% If (Session("ABC") == Null )
response.redirect("new page"); %>
Problem is the session variable,ABC, is always null.
Any ideas?
Thanks.
Don Jones |