dev Posted June 6, 2009 Share Posted June 6, 2009 Dear frens,Can u help me sorting this problem:in classic asp i write cookie as: Response.Cookies("ePortal")("ID")="blabla"and i read cookie values as: Request.Cookies("ePortal")("P12")now with javascript i know: document.cookie="ePortal"+"="blabla";now my question is - how can i create a cookie with keys using javascript as i did with asp?I will be thankful Link to comment Share on other sites More sharing options...
jesh Posted June 8, 2009 Share Posted June 8, 2009 You could write a function that does it for you. See this page for an example:http://www.w3schools.com/js/js_cookies.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.