HighTechTalks DotNet Forums  

Session Variables

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss Session Variables in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Don Jones
 
Posts: n/a

Default Session Variables - 11-21-2007 , 09: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

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.