Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the cookie value

Status
Not open for further replies.

Dvarkholm

Technical User
Sep 5, 2002
17
0
0
GB
This function works ie it returns the cookie value correctly.

function CookieExist()
dim sValue

msgbox("products")
sValue = Document.All.myScriptlet.GetCookieKey("products")
msgbox(sValue)
end function

BUT, if I remove the first msgbox (obviously I don't want a msgbox there), I get the following error:

Error: Object doesn't support this property or method: 'Document.All.myScriptlet.GetCookieKey'

Arghhh!!!! Can any1 help?
Mark.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top