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
Explain code snippet to register exception filters from controller?
What is an asp.net validator? And, mention its types.
What is use of Master Page in ASP.NET web pages?
What is the purpose of url encoding?
What is special types forms
What is postback and autopostback in asp.net?
What does aspcompat="true" mean?
How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.
Why SessionID changes in every request in asp.net?
What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?
How you will improve web application performance?
How to Insert/Add in ASPXgridview
How can we prepairing Interview
What is the parent class of all the web server control?
What is the basic difference between asp and asp.net?