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
What is a session http?
What is a postback url?
What is cookieless session id explain in brief?
Define session in asp.net.
Define application state variable and session state variable?
How many web.config files can I have in an application?
Why mvc is better than asp.net? : Asp.Net MVC
Elaborate differentiation between ViewState and SessionState?
What is the concept of view state in asp.net?
What is ispostback method in asp.net? Why do we use that?
What is the caspol.exe tool used for?
What is the sequence in which ASP.NET events are processed?
To get the values in two different controls to match which control you use it?
How can we update records in gridview?Is there any appropriate code for it?
Explain the working of passport authentication.