Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Persistent Cookie Problem

Reply
Thread Tools

Persistent Cookie Problem

 
 
sanchita
Guest
Posts: n/a
 
      03-23-2007
Hello everyone,

I am having a problem with persistent cookies. Even after setting
"CreatePersistentCookie" to true in "FormsAuthentication.SetAuthCookie" I'm
somehow being logged out after the specifed timeout provided in "forms"
element of web.config.

I read somewhere that persistent cookies take their timeout from the timeout
attribute on the forms authentcation node. If I have to enter a timeout of
days/weeks then it doesnt really make sense to make my cookie persist in
this fashion, that defies the purpose of persistent cookies.

Any insights welcome

Thanks,
Sanchita


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Persistent field and Persistent properties - difference gk Java 7 10-12-2010 09:43 PM
login control persistent cookie problem GaryDean ASP .Net 4 07-13-2007 02:58 AM
Techniques to auto-login using a persistent cookie. craigkenisston@hotmail.com ASP .Net 4 10-24-2005 02:21 AM
IsAuthenticated times out with non-persistent cookie - Why/How? Kepler ASP .Net 0 10-27-2004 04:27 PM
Non-persistent cookie Marco Rispoli ASP .Net 1 05-08-2004 01:45 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57