Valid session variable name

Discussion in 'ASP General' started by Andyza, Nov 21, 2005.

  1. Andyza

    Andyza Guest

    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.
     
    Andyza, Nov 21, 2005
    #1
    1. Advertisements

  2. Andyza

    Evertjan. Guest

    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)
     
    Evertjan., Nov 21, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?iso-8859-1?B?bW9vcJk=?=
    Replies:
    7
    Views:
    1,161
    Roedy Green
    Jan 2, 2006
  2. ding feng
    Replies:
    2
    Views:
    3,291
    ding feng
    Jun 25, 2003
  3. Bobby Chamness
    Replies:
    2
    Views:
    2,632
    Joe Smith
    Apr 22, 2007
  4. mfglinux
    Replies:
    11
    Views:
    995
    Roberto Bonvallet
    Sep 12, 2007
  5. chowchho
    Replies:
    7
    Views:
    860
    Patrice
    Mar 28, 2008
  6. Jack-2
    Replies:
    3
    Views:
    625
    Jack-2
    Dec 24, 2003
  7. Java  script  Dude

    IE name="name" & form.name property bug

    Java script Dude, Jun 29, 2004, in forum: Javascript
    Replies:
    5
    Views:
    518
    Java script Dude
    Jun 30, 2004
  8. David Filmer
    Replies:
    19
    Views:
    541
    Kevin Collins
    May 21, 2004
Loading...