How to I set a local variable with the value stored in a cookie on the window_onload() event in VBScript.
I read that you need to use string methods such as substring, charAt, indexOf, and lastIndexOf to determine the value stored in the cookie. But how ????
I tried the following
Sub Window_onload()
Dim myparam
myparam = document.cookie[mycookie]
End sub
Any help would be great.
I read that you need to use string methods such as substring, charAt, indexOf, and lastIndexOf to determine the value stored in the cookie. But how ????
I tried the following
Sub Window_onload()
Dim myparam
myparam = document.cookie[mycookie]
End sub
Any help would be great.