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

What is a session http?

929


What is a postback url?

882


What is cookieless session id explain in brief?

1047


Define session in asp.net.

988


Define application state variable and session state variable?

999


How many web.config files can I have in an application?

982


Why mvc is better than asp.net? : Asp.Net MVC

954


Elaborate differentiation between ViewState and SessionState?

1099


What is the concept of view state in asp.net?

1012


What is ispostback method in asp.net? Why do we use that?

1234


What is the caspol.exe tool used for?

1016


What is the sequence in which ASP.NET events are processed?

1103


To get the values in two different controls to match which control you use it?

1053


How can we update records in gridview?Is there any appropriate code for it?

2170


Explain the working of passport authentication.

968