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...

What method do you use to explicitly kill a users session?

Answer Posted / aadesh kumar

You can dump (Kill) the session yourself by calling the method Session.Abandon.
ASP.NET automatically deletes a user's Session object, dumping its contents, after it has been idle for a configurable timeout interval. This interval, in minutes, is set in the <SESSIONSTATE>section of the web.config file. The default is 20 minutes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we store object in viewstate?

976


What are custom controls?

945


Where would you use an ihttpmodule, and what are the limitations of any?

1013


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

987


What is a 401 redirect?

920


Can the unique key be null?

1104


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1018


How to make paging concepts in datagrid in ASP.NET?

1025


How can you handle exceptions in asp.net?

1046


Where session id is stored?

981


What is repository pattern in mvc.net? : asp.net mvc

996


What are the different web pages?

920


Explain about consistent programming model in the .NET framework?

1093


How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

1097


What is the difference between Session and response.Redirect?

1129