Session variables  
Author Message
wincom





PostPosted: Sun Apr 11 18:42:46 CDT 2004 Top

ASP/Active Server Pages >> Session variables

I am trying to use Session("xxx"). When I declare the variable like
this on page or in procedure, it doesn't work.

Session("xxx") = "1234"

Have also tried declaring it in Global.asa, but it doesn't
printanything when I use <%=Session("xxx")%>. Any clues?

Do I have to tell ASP or IIS that I'm using a Session Variable or
something? I have followed several examples with like results.

What i want to do is to have the user login, and their password be
accessible from any page so they don't have to constantly relog. Any
tutorials or links?

TIA

ck

Web Programming9  
 
 
Aaron





PostPosted: Sun Apr 11 18:42:46 CDT 2004 Top

ASP/Active Server Pages >> Session variables http://www.aspfaq.com/2157

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




>I am trying to use Session("xxx"). When I declare the variable like
> this on page or in procedure, it doesn't work.
>
> Session("xxx") = "1234"
>
> Have also tried declaring it in Global.asa, but it doesn't
> printanything when I use <%=Session("xxx")%>. Any clues?
>
> Do I have to tell ASP or IIS that I'm using a Session Variable or
> something? I have followed several examples with like results.
>
> What i want to do is to have the user login, and their password be
> accessible from any page so they don't have to constantly relog. Any
> tutorials or links?
>
> TIA
>
> ck