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

Explain about Multi-Language integration?

603


What is the maximum number of classes that can be contained in one dll file?

684


What a diffgram is, and a good use for one?

572


What is cache in asp net?

538


What is view state management in asp net?

464






How can we use Web API with ASP.NET Web Form?

650


What is full trust in asp.net?

549


What is a session http?

521


What are the server control tags in asp.net.?

625


What is the use of placeholder control?

552


What is a ashx file?

558


To redirect the user to another page which method do we use without performing a round trip to the client?

539


What is the typical session identifier?

575


How do you handle server controls?

659


What is x xss protection?

572