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

How you can access the properties and controls of master pages from content pages?

897


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

909


How long should a session id be?

964


What is the meaning of TestApi?

1025


How does the cookies work in asp.net?

1058


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

959


In ViewState How much lifespan items stored?

1014


Where can I get the details on migration of existing projects using various technologies to asp.net?

1001


Explain about the Class view window?

931


What are ASHX files?

1045


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

918


How can you pass multiple complex types in Web API?

996


What are sql notifications and sql invalidations?

901


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

961


what are configuration files?

988