For Programmers: Free Programming Magazines  


Home > Archive > ASP > November 2005 > Valid session variable name









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Valid session variable name
Andyza

2005-11-21, 7:55 am

Is this a valid name for a session variable:

Session("mySessionName:$SO")

If so, does the " :$SO " mean anything special?

I'm going through a web application written by somebody else (who I
don't have contact with...) and it's littlered with these types of
session variables.

Thank.

Evertjan.

2005-11-21, 7:55 am

Andyza wrote on 21 nov 2005 in microsoft.public.inetserver.asp.general:

> Is this a valid name for a session variable:
>
> Session("mySessionName:$SO")
>
> If so, does the " :$SO " mean anything special?
>
> I'm going through a web application written by somebody else (who I
> don't have contact with...) and it's littlered with these types of
> session variables.
>


<%

response.write Session("mySessionName:$SO") & "<br>"
response.write now & "<br>"
response.write Session("mySessionName:$SO3")

Session("mySessionName:$SO") = "$SO " & now
Session("mySessionName:$SO3") = "$SO3 " & now

%>

Seems OK while testing.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com