468,457 Members | 1,756 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,457 developers. It's quick & easy.

session cookie and presist cookie?

Hi,

I tried to use HttpCookie in my code and it seems that by default it is a
session cookie (dispear after user close the browser). Can someone tell me
how to create a presist cookie? Also where are the session cookie stored? I
searched under temp Internet folder and cookie folder, but I can not find it.

Many Thanks

Jerry
--
hello, please help
Mar 7 '06 #1
1 1081
You can create a persistent cookie by setting the Expires property to
DateTime.MaxValue. You may just want the expires to be something like 3
months or a year. I am not sure where the session cookie is stored. It most
likely is not stored where other cookies are stored. May be stored in memory.

HTH,
Darren Kopp
http://blog.secudocs.com/

"jerry.xuddd" wrote:
Hi,

I tried to use HttpCookie in my code and it seems that by default it is a
session cookie (dispear after user close the browser). Can someone tell me
how to create a presist cookie? Also where are the session cookie stored? I
searched under temp Internet folder and cookie folder, but I can not find it.

Many Thanks

Jerry
--
hello, please help

Mar 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

27 posts views Thread by mrbog | last post: by
4 posts views Thread by Chris | last post: by
5 posts views Thread by ┼×enol Akbulak | last post: by
13 posts views Thread by Goofy | last post: by
4 posts views Thread by rgparkins | last post: by
2 posts views Thread by Gordon Burditt | last post: by
11 posts views Thread by Glenn | last post: by
9 posts views Thread by Josh | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by subhajit12345 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.