Hi,
Has anyone written or know of any scripts extending the javascript cookie collection to handle asp and asp.net cookie subkeys
e.g. in classic ASP -
vb Code:
<% ' Set Vals - ' syntax: Response.Cookies(NameofCookie)(NameofSubKey)=value Response.Cookies("PersonalDetails")("FirstName")="Michael" Response.Cookies("PersonalDetails")("SurName")="Wall" Response.Cookies("PersonalDetails")("CountryofBirth")="Ireland" ' Retrieve Vals - ' syntax: Request.Cookies(NameofCookie)(NameofSubKey) Response.write Request.Cookies("PersonalDetails")("FirstName") & "<br>" Response.write Request.Cookies("PersonalDetails")("SurName") & "<br>" Response.write Request.Cookies("PersonalDetails")("CountryofBirth") & "<br>" %>
I'm pretty sure this can be done but don't want to spend hours reinventing the wheel
Cheers Al




Reply With Quote