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
Is a dll file an executable?
Which namespace is used by ado.net?
Is asp.net still used?
What are the event handlers that can be included in the Global.asax file?
What are the different authentication modes in asp.net?
What are the Types of objects in ASP
What is an asp.net web form?
Describe a Windows Service and its lifecycle ?
What is the current version of asp.net?
What is xaml? Are xaml file compiled or built on runtime?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
Explain what are delegates?
What is difference between session and application in asp net?
What is the part of url?
What is dynamic web page with example?