How to kill session?
Answers were Sorted based on User's Feedback
There is nothing like Session.Kill in ASP.NET. So please
update this. Best answer is Session.Abandon
| Is This Answer Correct ? | 23 Yes | 3 No |
Answer / prajeesh
You can use
Session.Abandon();
Or
Session.RemoveAll();
or
Session.Clear();
But it is better to use Session.Abandon()
because it will removes associated session is also
http://prajeeshkk.blogspot.com/
http://dotnetbird.wordpress.com/
| Is This Answer Correct ? | 18 Yes | 6 No |
Answer / anil
there are two ways to kill the session
1:abandon method
2:don't write anything in session it will automatically
kill
| Is This Answer Correct ? | 13 Yes | 7 No |
Answer / siva vardhan
We can use these to clear session
Session.Abandon();
this.sessio.clear();
| Is This Answer Correct ? | 8 Yes | 4 No |
can sn.exe can be used before gacutil.exe
Explain the main differences between asp and asp.net?
all asp.net interives questions
Explain exception handling in .net.
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
whats the best method to cal id in javascript
Is asp.net and .net are same or different?
Can we have 2 web config files?
Types of state management techniques ?
Write the different features of a Thread and a Process?
Where sessions are stored?
What is runtime host ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)