Forms Authentication timeout doesn't work

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 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:

    <authenticati on mode="Forms" >
    <forms loginUrl="login/main/member_login.as px" timeout="1">
    </forms>
    </authentication>

    <sessionState
    mode="InProc"
    stateConnection String="tcpip=1 27.0.0.1:42424"
    sqlConnectionSt ring="data source=127.0.0. 1;user id=sa;password= "
    cookieless="fal se"
    timeout="2"
    />


Working...