Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Valid session variable name

Reply
Thread Tools

Valid session variable name

 
 
Andyza
Guest
Posts: n/a
 
      11-21-2005
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.

 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      11-21-2005
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)

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System Session Variable VS. Own-declared 'Session' Variable chowchho ASP .Net 7 03-28-2008 02:38 PM
"Variable variable name" or "variable lvalue" mfglinux Python 11 09-12-2007 03:08 AM
adding a variable name to a hash to name is part of the variable name Bobby Chamness Perl 2 04-22-2007 09:54 PM
How do I scope a variable if the variable name contains a variable? David Filmer Perl Misc 19 05-21-2004 03:55 PM
Session State - What does it take to establish one single ASP.NET session per "browser session" Jeff Smythe ASP .Net 3 01-02-2004 04:10 AM



Advertisments