| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Accredited PayPal World Seller|
| 10:06 pm on Jan 9, 2003 (gmt 0)|
Can anyone give me an example of how to implement a transient cookie using ASP?
| 2:19 am on Jan 10, 2003 (gmt 0)|
I'm not a big cookie user so I'm not sure if this is "transient" but here's a simple ASP cookie creation and retrieving of the value:
response.cookies("MyCookieValue") = "131314"
Response.cookies("MyCookieValue").Expires = DateAdd("d", 1, now)
lngMyValue = Request.Cookies("MyCookieValue")
Response.Write "MyCookieValue: " & Cstr(lngMyValue)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved