ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How to kill session?
 Question Submitted By :: Suresh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to kill session?
Answer
# 1
just write session["name"]=null;
 
Is This Answer Correct ?    0 Yes 1 No
Sudhir Kunnure
 
  Re: How to kill session?
Answer
# 2
session.abandont
 
Is This Answer Correct ?    4 Yes 0 No
Srikanth
 
 
 
  Re: How to kill session?
Answer
# 3
using
session.abandon method
 
Is This Answer Correct ?    3 Yes 0 No
Payal
 
  Re: How to kill session?
Answer
# 4
Session.RemoveAll();
 
Is This Answer Correct ?    0 Yes 0 No
Viral
 
  Re: How to kill session?
Answer
# 5
by using session.kill()
 
Is This Answer Correct ?    0 Yes 0 No
Kinge Amol
 
  Re: How to kill session?
Answer
# 6
by using session.abandon()
this cancels the current session immediately and releases 
all memory it occupied
 
Is This Answer Correct ?    2 Yes 0 No
Divya
 
  Re: How to kill session?
Answer
# 7
session.abandon();
 
Is This Answer Correct ?    0 Yes 0 No
Santhi
 
  Re: How to kill session?
Answer
# 8
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 ?    0 Yes 0 No
Anil
 
  Re: How to kill session?
Answer
# 9
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 ?    0 Yes 0 No
Prajeesh
 
  Re: How to kill session?
Answer
# 10
There is nothing like Session.Kill in ASP.NET. So please 
update this. Best answer is Session.Abandon
 
Is This Answer Correct ?    0 Yes 0 No
Kailash Dhondiyal
 
  Re: How to kill session?
Answer
# 11
We can use these to clear session
Session.Abandon();
this.sessio.clear();
 
Is This Answer Correct ?    0 Yes 0 No
Siva Vardhan
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
# What is the transport protocol you use to call a Web service?  1
Types of authentications in ASP.NET ? Accenture3
Is There any Third party tools are using in .Net Technologies? Can u Explain? HCL2
Can we throw exception from catch block ? Accenture2
which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row Aviva2
Hi please tell me what is ISNOTPOSTBACK,POSTBACK,AUTOPOSTBACK and also the extensions of aspx,asmx,ascx its urgent plz reply me soon....  3
diffrance between stored procedure & function in sql server?  2
can i use store procedure in disconnected mode? give me answer  2
What is CTE in sql server 2005? Minecode2
Briefly describe different techniques for ASP.NET State Management? Syntax-Softtech2
What is Difference between Callbacks and Postback in ASP.NET?  6
what are the new server controls added in Asp.net 2.0? DOSPL1
what is caching? Microsoft2
What is an Interface and What is an Abstract Class?  3
I have to send data throug querystring from one page to another. But it should not be displayed in URL. How it is possible? EMR5
what is diffrance between response.write & response.output.write CTS3
How do you pass session values from one page to another ? Digital-GlobalSoft2
is it possible to use web site without web server from remote place? ABC1
What?s the difference between Response.Write() and Response.Output.Write()? Visual-Soft2
when the user control event occur in ASp page life cycle?  3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com