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 |
Can the unique key be null?
What are the disadvantages of view state?
What is application session?
What is asp.net futures?
What is the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?
What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it?
Where do we store our connection string in asp.net application?
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.
Write some code using interfaces, virtual methods, and an abstract class`
What are the different types of Caching techniques in ASP.NET?
What are the types of authentications in ASP.NET?
2 Answers Accenture, BirlaSoft,
what is Repeater Control, When it is used,How it is used, what type of template is used for repeater control?
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)