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
How to change Master page in ASP.Net using code?
8. Why do you want to work here?
What is the difference between a candidate key and primary key?
How does cookies work in asp net?
Explain the Order of events in an asp.net page?
Which method is used to force all the validation controls to run?
Differentiate between early binding and late binding.
What is the difference between rest and restful?
How do you secure your connection string information?
From which base class all web forms are inherited?
What can we do with asp.net?
What is authentication in asp.net?
What is custom events?
What is the difference between typeof() vs gettype()?
Explain weak typing and strong typing.