Can we change the session timeout in ASP.NET, if yes then
how and from where?
Answer Posted / narinder mahindru
By default session time out is 20 minutes but one can
change it. there are two ways to change the sessiontime out
in asp.net that is:-
1) from web config. file by setting the session timot
element eg.
<sessionstate timeout="60"/>
or
2) by doing programtically eg.
session.timeout=60
| Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
Difference between application events and session events
What is web configuration file and how to use in web application
What is the difference between mvc and asp.net? : Asp.Net MVC
Explain the components of web form in asp.net
Explain how is a property designated as read-only?
Define repository pattern in mvc.net? : asp.net mvc
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
Which of the following .NET framework supports Web API?
What is css in asp.net?
Which object encapsulates state or data of a user?
What is sql data source control in asp.net?
How would ASP and ASP.NET applications run at the same time on the same server?
Define xmlvalidatingreader class.
What is asp.net introduction?