Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
need classsic asp code to maintain cookies value in a common domain

I have explained in brief

suppose,i have logged in www.sample.net domain,
the cookie value is stored like this
Response.Cookies("login_email") ="test"

now i have opened a page in www.sample.com domain,
in this domain also, the cookie value must be there.here i donot want to login again,
becoz cookie value has to maintain.

and opened a page in www.sample.biz domain,here also i have to maintain that cookie value.

ie. when i write a cookie in one domain, it must be reflected to other domains also.
kindly help me.
Posted
Updated 2-Mar-12 5:20am
v2

1 solution

VB
<![CDATA[<%
Response.Cookies("firstname")="Alex"
%>]]>


http://www.w3schools.com/ASp/asp_cookies.asp[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900