deszling
November 10th, 2005, 01:00 AM
Hi,
I have a problem with session variable.
Public Sub StoreVar()
session("MyVar") = "ABC"
End Sub
Public Sub GetVar()
Dim myVar as String
myVar = session("MyVar")
End Sub
In the above code, myVar is set to nothing.
The weird thing is i tried the above code using 2 browers:
Firefox and IE.
It works fine in Firefox but not in IE.
I am guessing the Session object in IE is not working due to some settings?
Can someone englighten me?
I have a problem with session variable.
Public Sub StoreVar()
session("MyVar") = "ABC"
End Sub
Public Sub GetVar()
Dim myVar as String
myVar = session("MyVar")
End Sub
In the above code, myVar is set to nothing.
The weird thing is i tried the above code using 2 browers:
Firefox and IE.
It works fine in Firefox but not in IE.
I am guessing the Session object in IE is not working due to some settings?
Can someone englighten me?