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 asynchronous call?

1028


What are different methods of session maintenance in asp.net?

1012


How to use push notification?

993


Explain the advantages of passport authentication.

884


What is an il?

960


What is the difference between custom controls and user controls?

904


How long do session variables last?

909


What is a query string in a url?

939


What are the Types of authentications in IIS

1013


What is server infrastructure & server components?

1170


What is considered a service provider?

906


Explain why datareader is useful?

944


What are the events that happen when a client requests an asp.net page from iis server?

956


Explain what are webservices?

928


How can we inherit a static variable?

1005