Forms Authentication expiry issue

N

noemail

Hi,

I'm having a problem with forms authentication on an asp.net
application. To summarise, after logging in initially, the login never
expires. I can come back to the application after days, and I'm still
logged in. However, if I delete cookies from the browser I am once
again redirected to the login page. I currently have timeout="2" in
the athentication/forms element of the web.config.

Anyone have any idea about what might be causing the problem?

Thanks
 
D

Dominick Baier [DevelopMentor]

Hello (e-mail address removed),

are you using FormsAuthentication.RedirectFromLoginPage or SetAuthCookie
- there is parameter which specifies if the login cookie should be persistent.
I guess you are setting this to true.
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top