Welcome to WebmasterWorld Guest from 23.20.10.127

Forum Moderators: ocean10000

Message Too Old, No Replies

transient cookies?

     
10:06 pm on Jan 9, 2003 (gmt 0)

New User

10+ Year Member

joined:Apr 11, 2002
posts:19
votes: 0


Can anyone give me an example of how to implement a transient cookie using ASP?

Thanks,
Theeba

2:19 am on Jan 10, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 28, 2002
posts:506
votes: 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)

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members