|
From your code it would appear the you have not set a timeout for the cookie. This means that it will disappear instantly when you leave the page.
To expire a cookie one year from a specific date (DT), you should use a line like:
Response.Cookies("CookieName").Expires=dateAdd("yy yy", 1, DT)
Regards,
__________________
W F Peyton
Web Site Analytics for Serious e-Commerce Sites from Web Stats Gold
Please login or register to view this content. Registration is FREE
|