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

Is a dll file an executable?

981


Which namespace is used by ado.net?

940


Is asp.net still used?

971


What are the event handlers that can be included in the Global.asax file?

1030


What are the different authentication modes in asp.net?

958


What are the Types of objects in ASP

1040


What is an asp.net web form?

1036


Describe a Windows Service and its lifecycle ?

1079


What is the current version of asp.net?

942


What is xaml? Are xaml file compiled or built on runtime?

918


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

1115


Explain what are delegates?

1046


What is difference between session and application in asp net?

970


What is the part of url?

921


What is dynamic web page with example?

909