Ask a Question related to ASP.NET General, Design and Development.
-
Mark MacRae #1
Forms Authentication timeout doesn't work
I am trying to do some testing of my application with respect to timeouts
(i.e. Session timeouts). I took the advice of somebody else in this
newsgroup (I think) and set my forms authentication timeout to be one minute
less than the session timeout, but I was still getting wierd things happen
when a timeout would occur.
Today I set the timeout value for forms authentication = "1" and for the
session = "2" just to test. Low and behold, the forms authentication
timeout doesn't seem to make any difference. I debugged and see that there
is still a ticket with an authenticated user when I try to view a page even
after 5 minutes of inactivity.
Is there something I'm missing?
Here's the relavent portions of my application-level web.config:
<authentication mode="Forms" >
<forms loginUrl="login/main/member_login.aspx" timeout="1">
</forms>
</authentication>
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false"
timeout="2"
/>
Mark MacRae Guest
-
forms authentication cookie not timeout
I customized the cookie generation in forms authentication so I can keep extra data in the cookie. but the problem now is that my forms... -
Forms authentication in WebServices and timeout
Hi, I am having an issue with forms authentication and timeout. I created a simple web application and a web service based on the example in... -
ASP.NET Forms Authentication don't work on some Window XP
(Type your message here) I am working on ASP.NET project where I am using formauthentication, it seems to work fine on all OS including XPexcept on... -
Forms-based authentication expires before timeout
Hi, I'm having a problem with the forms-based authentication. The user is getting timed out before long before the timeout period has passed.... -
Meaning Of Timeout In FOrms Authentication..????
does Timeout deletes automatically the cookie in the clients browser i relied on forms cookie to authenticate the user and had set timeout to i...



Reply With Quote

