Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to kill session?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is my content secured from unauthorized access?

950


How can you ensure a permanent cookie?

993


How to unit test Web API?

1191


What is AutoEventWireup attribute for ?

996


What is syntax code to send email from an asp.net application?

996


Difference between web user control and web custom control?

905


Explain the difference between asp and asp.net?

992


How will you do Redo and Undo in a TextControl?

1160


What does it mean your session has timed out?

970


What is the differences between a primary key and a unique key in sql server?

1058


Define static function?

998


What are the types of caching in asp.net?

1054


What are assemblies and namespaces and explain the difference between them ?

1066


What is directive in asp net?

1000


What is owin authentication?

946