How to kill more than one session variables at a time
Answers were Sorted based on User's Feedback
Answer / dineswari
Session. Abandon() Kills only the current session. To kill
more than one session variable, use Session.RemoveAll();
| Is This Answer Correct ? | 39 Yes | 6 No |
Answer / shiva
Session.Abandon() not only kills the current session, it
also removes all the session variables
| Is This Answer Correct ? | 15 Yes | 6 No |
Answer / dsrs
to kill More than one session at a time, we can use
session.removeall() other wise session.Abandon().
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / umamahesh
session. Abandon() will kill not only current session and
also all seesions variables
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / chaithu
session.Abandon() will kill the current and also previous sessions. you can check
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / loka
By using Session.clear() or Sesision.RemoveAll() methods
| Is This Answer Correct ? | 1 Yes | 0 No |
If we add a textbox and give the required field validator,and i add two radio buttons 1 is yes another one is No.And i add another one server control button ,if i click the button ,if the radio button Yes is checked the validation control is fired ,if no the validation control is not fired.So what you used to solve this problem.
What is asp net objects?
How would one do a deep copy in .NET?
What is application variable in asp.net?
Do you know about caching with the datasource controls?
Who can consume WebAPI?
How do I use a proxy server when invoking a web service?
What is bson in web api?
What is early binding and Late binding. Difference which is better ?
What Name space does the web page belon in the .net framework class hierarchy?
What is session start?
What is enableviewstatemac in asp net?
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)