How to read ASP cookies (the ones with keys) from Javascript?

M

Mike

Hello,

I want to read and write key'ed cookies from both javascript and ASP.

I can't find any javascript that reads and writes cookies with keys,
so that it is compatible with ASP like the following:

<%
Response.Cookies("user")("firstname")="John"
Response.Cookies("user")("lastname")="Smith"
Response.Cookies("user")("country")="Norway"
Response.Cookies("user")("age")="25"
%>

If anyone has the javascript code that can read and write such ASP
keys, I'd appreciate it if you could post it...

Thanks,
Mike
 
M

Mark Schupp

Do you mean client-side javascript (see a client-side group) or server-side
jscript?

Note: ASP is an environment, not a language. The languages typically used
with ASP are JScript and VBScript.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top