homepage Welcome to WebmasterWorld Guest from 54.225.57.156
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
transient cookies?
theebalinda




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

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

Thanks,
Theeba

 

duckhunter




msg:956663
 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)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved