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 smpte vc-1?
Why the javascript validation not run on the asp.net button but run successfully on the html button?
When maintaining session through sql server, what is the impact of read and write operation on session objects?
What are the advantages and limitations of query string?
Why SessionID changes in every request in asp.net?
What is an example of an application service provider?
What is a postback ispostback and autopostback in asp net?
How can we call webservices in Banking Applications? and where we are using it?
Describe session handling in a webfarm, how does it work and what are the limits?
Explain the boxing and unboxing concept in .net?
Explain managed code an un-managed code.
What are custom user controls in asp.net?
Why do we need asp.net?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
Can we handle the error and redirect to some pages using web.config?