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!

A quick cookie question

Status
Not open for further replies.

wbodger

Programmer
Apr 23, 2007
769
0
0
US
So, in vbscript I can create a cookie dictionary where I have a single cookie with a list of parameters if you will.
Code:
response.cookies("toplevel")("param_name")="test1"
response.cookies("toplevel")("param_name2")="another test"

What is the corresponding syntax in javascript? I have a cookie I have created with vbscript and I want to add a param/value with javascript within the existing cookie dictionary/library.

Thanks,
wb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top