Can we change the session timeout in ASP.NET, if yes then
how and from where?
Answer Posted / narendra soni
to change session timeout write this code in your web.config
file
<sessionState mode="InProc" timeout="60">
or you can also set this in global.asax file as
Session.Timeout = 60 ; // in Session.Start() event
it will increase your session expire time .
Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
What is the difference between stored procedure vs function?
Difference between web user control and web custom control?
What is session in asp.net?
What are sharepoint pages?
What is the function used for removing an event listener?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
Define authentication and authorization.
What parameters can you pass in the url of the api?
what is AutoEventWireUp and what is the use of This property explain in details?
What is the significance of finalize method in .net?
What is the significance of ASP.NET routing?
What is query string in asp.net?
What is special types forms
Explain the concept of event bubbling in ASP.NET?
From which base class all web forms are inherited?