cookie lose its value randomly

S

Seth Broomer

i have a site that stores about 5-6 cookies

randomly the cookies will either expire, or just lose its value

what i'm doing is pretty simple.

when the user logs in i save some of their data to a cookie

HttpContext.Current.Response.Cookies["username"].value =username;

on all my pages i get that cookie via the Request.Cookie object

but then randomly clicking around the cookie disapears. is it expiring?
i want it to only expire when the user closes the browser

thanks
seth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top