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 / narendra soni

to change session timeout write this code in your web.config
file

<sessionState mode="InProc" timeout="60">

or you can also set this in global.asax file as

Session.Timeout = 60 ; // in Session.Start() event

it will increase your session expire time .

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is smpte vc-1?

1027


Why the javascript validation not run on the asp.net button but run successfully on the html button?

950


When maintaining session through sql server, what is the impact of read and write operation on session objects?

981


What are the advantages and limitations of query string?

1043


Why SessionID changes in every request in asp.net?

965


What is an example of an application service provider?

865


What is a postback ispostback and autopostback in asp net?

894


How can we call webservices in Banking Applications? and where we are using it?

2074


Describe session handling in a webfarm, how does it work and what are the limits?

1075


Explain the boxing and unboxing concept in .net?

854


Explain managed code an un-managed code.

1015


What are custom user controls in asp.net?

1009


Why do we need asp.net?

1003


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

1074


Can we handle the error and redirect to some pages using web.config?

1615