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  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
 SharePoint interview questions  SharePoint 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 11 No
Sudhir Kunnure
 
  Re: How to kill session?
Answer
# 2
session.abandont
 
Is This Answer Correct ?    12 Yes 6 No
Srikanth
 
 
 
  Re: How to kill session?
Answer
# 3
using
session.abandon method
 
Is This Answer Correct ?    11 Yes 3 No
Payal
 
  Re: How to kill session?
Answer
# 4
Session.RemoveAll();
 
Is This Answer Correct ?    1 Yes 6 No
Viral
 
  Re: How to kill session?
Answer
# 5
by using session.kill()
 
Is This Answer Correct ?    3 Yes 9 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 ?    9 Yes 2 No
Divya
 
  Re: How to kill session?
Answer
# 7
session.abandon();
 
Is This Answer Correct ?    9 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 ?    4 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 ?    4 Yes 2 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 ?    5 Yes 1 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 ?    3 Yes 0 No
Siva Vardhan
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What data types do the RangeValidator control support?  2
What are the new page events added in Asp.net 2.0 ? Sapient5
“~” means in asp.net application? IBS3
How to compare two strings with out Case sensitive ? Protech4
Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process Visual-Soft1
How to manage pagination in a page?  2
Can you please anyone explain in detailed Webservices concepts in Asp.net?  1
can machine.config file orverrides web.config. For example: if u set session timeout as 30 mins in web.config file to a particular application and if u set session timeout as 10 mins in machin.config. what will happen and which session is set to the appliction? SunGard2
How do you create a permanent cookie?  2
How many types of validation controls are provided by ASP.NET?  4
What are Themes? What is their use ?  1
How to write unmanaged code and how to identify whether the code is managed /unmanaged? Accenture4
how can i insert array values and retreive in asp.net TCS3
How to change the form layout in ASp.net 2.0 ? Netsweeper1
What is the need of client side and server side validation ? Keane-India-Ltd1
You create an assembly to access data in a relational database. This assembly will be used by several ASP.NET applications on your Web server. You need to ensure that all your applications can access the assembly. Which two actions should you take (Each Answer: presents part of the solution.)? (Choose two) A . Run the Assembly Registration tool (Regasm.exe). B . Run the String Name tool (Sn.exe). C . Run the Installer tool (Intallutil.exe). D . Run the Global Assembly Cache tool (Gacutil.exe). Syntax-Softtech5
What is viewstate? Microsoft3
Which class provides methods that can be used to manage role membership to be used in user authorization? Wipro3
What is boxing? How we can use it? NIIT2
Why Web Services?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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