Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session Timeout
Message
Information générale
Forum:
ASP.NET
Catégorie:
Internet Information Server
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01322243
Message ID:
01324710
Vues:
31
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform