Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session Timeout
Message
General information
Forum:
ASP.NET
Category:
Internet Information Server
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01322243
Message ID:
01324710
Views:
30
>Paul,
>
>I have tried the session state suggestion without success. The timeout still occurs around 20 minutes. I haven't setup the Forms section you mention below. If I were to do this, would I need to create one for each form in the application?
>
>Also, please remember that I am using MM.NET and have just enabled security on forms by overriding the OnInit method as instructed in the MM.NET guide:
>
>protected override void OnInit(EventArgs e)
>    {
>        this.RequiresSecurity = true;
>        base.OnInit(e);
>    }
>
>
>Thanks again in advance for your help.
>
>Bob
>

You need to specify the forms section in the web.config. ex.
<system.web>    
    <authentication mode="Forms">
          <forms timeout="60" slidingExpiration="true" />
    </authentication>
</system.web>
(I included the system.web section so you can get an idea of where it's located in the web.config file).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform