.NET Programming
--
Questions
--
Followers
Top Experts
I want to increase the timeout for calling the session_end i know by default its set to 20 minutes but i want to increase it to 2 hours please help
Thanks,
R8VI
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Thanks for this so what you are saying is that I have to set it at IIS level, is this right ?
And since I havent installed IIS on my PC i wont be able to test it until it goes to live on the server is this right, as the server has IIS ?
Thanks,
R8VI






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
So i tried setting the setting it in the webconfig like
<system.web>
<sessionState timeout="120"></sessionSta
</system.web>
but the session_end still seems to be called every 20 mins
please help
Thanks,
R8VI

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Thanks for this but how do i match up the global.asax file that i have to what u have done?
also I only have Session.Abandon called on when a user clicks logout button, but the button is on the master page
i set set thefollowing on log in
FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(
thanks
r8vi
There are two concepts of timeout in ASP.NET: a forms timeout and a session timeout. Both can be configured independently of each other. Are you certain that it's your session that is timing out and not your forms authentication that is timing out?
In my webconfig I also have the following for my forms authentication
<authentication mode=forms>
<timeout=2880>
<authentication>
However in the session state I removed mode=improc
And it seems to e working now






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
.NET Programming
--
Questions
--
Followers
Top Experts
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.