What method do you use to explicitly kill a users session?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the application pool?
Are there resources online with tips on asp to asp.net conversions?
What are the main components of the ADO object model? How are they used?
2 Answers HCL, Syntax Softtech,
What are the disadvantages of view state / what are the benefits?
What is shadowing?
Explain code snippet to register exception filters from controller?
When a dropdownlist has been added by some records and it has been binded why it is not executing i'm facing this error pls help me ? if (is!pageposback) { arraylist books = new arraylist; books.add ("gone with the wind"); books.add ("rahulsriramprakash"); books.add ("vishal"); dropdowndisplay.datasource=books; dropdowndisplay.databind(); } The error is : 1) The dropdowndisplay does not exist.
Explain form level validation and field level validation?
How can we pass info between 2 asp.net pages?
Explain method to handle error using HttpError in Web API?
How do we ensure view state has not tampered?
What is the difference between session.abandon() vs clear()?