Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain code snippet to register exception filters from controller?

989


What is an asp.net validator? And, mention its types.

985


What is use of Master Page in ASP.NET web pages?

1018


What is the purpose of url encoding?

925


What is special types forms

978


What is postback and autopostback in asp.net?

978


What does aspcompat="true" mean?

990


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

5527


Why SessionID changes in every request in asp.net?

939


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

934


How you will improve web application performance?

1002


How to Insert/Add in ASPXgridview

993


How can we prepairing Interview

2296


What is the parent class of all the web server control?

918


What is the basic difference between asp and asp.net?

985