p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: creating cookies


Message #1 by "Art Herbert" <aherbert@s...> on Wed, 2 May 2001 01:47:54
make sure you set an expirey or it wont be a "Persistent" cookie.

a persistent cookie is a cookie that is written to disk, and not just in 
browser memory.  and has a life as long as the expiery.





At 01:47 AM 5/2/2001 +0000, you wrote:
>I am suppose to be able to create a cookie by using this line
>
><% Response.Cookies("cookie") = "test string" %>
>
>It doesn't bomb out but I can't see a file name called cookie
>in my c:\windows\cookies directory.
>
>I want to write a cookie on to the users harddrive but don't
>know how to do it.
>
>
>


Robert Chartier
Author, AspFree.com
xxx-xxx-xxxx
rchartierh@a...
http://www.aspfree.com/devlinks
http://www.aspfree.com/authors/robert
http://www.aspalliance.com/nothingmn


  Return to Index