ShIzO
May 3rd, 2000, 07:52 PM
Hello,
do you guys have any clue how to retrieve the name of any session variable?
Session("TestVar") = "My Name"
i did:
for every strItem in Session.Contents
myName = Session(strItem)
'this works
Response.Write strItem
'this does't, myName is null, can't compare
if myName = "TestVar" then Response.Write "Got Ya"
next
how do i get the name the name? so i can do some string manipulation, it works when displaying but doesn't when comparing and manipulating.
thx. please help
do you guys have any clue how to retrieve the name of any session variable?
Session("TestVar") = "My Name"
i did:
for every strItem in Session.Contents
myName = Session(strItem)
'this works
Response.Write strItem
'this does't, myName is null, can't compare
if myName = "TestVar" then Response.Write "Got Ya"
next
how do i get the name the name? so i can do some string manipulation, it works when displaying but doesn't when comparing and manipulating.
thx. please help