FormAuthentication Timeout in web.config cannot override default timeout?

Discussion in 'ASP.NET / ASP.NET Core' started by wisemx, Nov 9, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have my site hosted here, and I need to override the default FormAuthentication timeout from 30 mins to 60 mins. I have the following config in the web.config, which is working properly in localhost. But when I upload the site here. The timeout still occurs at around 30 mins, seems the setting in web.config is not taking effect. I don't need session so I disabled the sessionState, which should not affect the FormAuthentication at all.

    I am not programmatically setting the form ticket timeout anywhere, so it is not the problem of the web.config setting was overrided by code.

    <sessionState mode="Off" />
    <authentication mode="Forms">
    <forms timeout="60"/>
    </authentication>

    Anyone had the same problem before?

    Thanks a lot if you can share your thoughts.

    ecardoo.com

    Post Edited (ecardoo.com) : 11/9/2008 5:06:18 AM GMT
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page