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 assemblies and namespaces and explain the difference between them ?
Why is it preferred to not use finalize for clean up?
Explain weak typing and strong typing.
How do we implement bundling in MVC?
What is the difference between cache and cookies?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
What's the use of response.output.write()?
How to Separate background image and front image from original picture....
How many types of validation are there?
How many types of sessions are there in asp net?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
Can you explain one critical mapping?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?