mrbengi mrbengi - 1 year ago 96
ASP.NET (C#) Question

How can I extend the Forms Authentication time in ASP.Net?

My web forms crash after 7 mn. 10 sec. when they left idle.

I have this code in web.config but it does not work :

<authentication mode="None">
<forms timeout="30" slidingExpiration="true" />

How can I fix this?

Answer Source

I found that this is belong to session time.

So I should set

Session.Timeout = // some time.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download