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
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Explain how to prepare culture-specific formatting in .net.
What are the two properties that are common on every validation control?
Explain the asp.net page life cycle.
What are the Types of state management techniques
How do I open an ashx file?
Define repository pattern in asp.net mvc? : asp.net mvc
code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications
What is the difference between ASP Session State and ASP.Net Session State?
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
What is the use of web.config file?
What is difference between inproc and outproc?
what are the Custom controls in asp.net?
What are the different kinds of assemblies?
Which object encapsulates state or data of a user?