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
How you can access the properties and controls of master pages from content pages?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
How long should a session id be?
What is the meaning of TestApi?
How does the cookies work in asp.net?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
In ViewState How much lifespan items stored?
Where can I get the details on migration of existing projects using various technologies to asp.net?
Explain about the Class view window?
What are ASHX files?
Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?
How can you pass multiple complex types in Web API?
What are sql notifications and sql invalidations?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
what are configuration files?