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
Explain the various authentication mechanisms in asp.net.
Which method is used to perform all validation at the page level?
What are the different properties of server control that exists?
Explain the role of global.asax?
What is server side session?
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
What events will occur when a page is loaded?
Explain the different types of directives in .net?
What are sessions in asp net?
What is use of Master Page in ASP.NET web pages?
Explain about solution explorer window?
If you are using components in your application, how can you handle exceptions raised in a component?
How is it possible for .NET to support many languages?
How does a content page differ from a master page?
Can master pages be nested?