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

Does web services support data reader like pom project?

950


What is the size of Get method and how much data it can store?

1171


Do session use cookies in asp net?

1006


Do you know about caching with the datasource controls?

901


How is my content secured from unauthorized access?

978


Can we use html in asp.net?

940


Can you change a Master Page dynamically at runtime?

971


What are different types of api?

1018


What is session in asp.net?

967


Explain difference between friend and protected friend?

936


What are the new data controls in asp.net 2.0?

974


Where is http session stored?

934


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

934


In which situation can you not use a viewstate?

967


Explain server-side scripting and client-side scripting.

932