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...


suppose i am Admin in my application and i have to
terminate the session of the particular user in my
application.........how can i do it....?????



suppose i am Admin in my application and i have to terminate the session of the particular user in..

Answer / pushpa

In Global.asax, you have an event called Session_End - this
is the event
which fires (so long as your Session is InProc) when the
Session ends.

Under normal circumstances, the Session ends for two
reasons:

1) it has timed out automatically, by default after 20
minutes of
inactivity, though this figure can be changed

2) it has been ended explicitly ("torn down", to use the
jargon)

You may be familiar with logging out of your on-line
banking application by
clicking a "Logout" button or whatever - it is the code
behind such a button
where you would place the Session.Abandon() code.

Is This Answer Correct ?    4 Yes 7 No

Post New Answer

More ASP.NET Interview Questions

What is viewstate?

5 Answers   Microsoft,


Usage of web.config?

2 Answers   Microsoft,


What is the difference between User Controls and Master Pages

22 Answers   Deloitte, IBM, IntraLogic, Markit, TCS,


• What Session State providers are available in ASP.NET? What are the pros and cons of each?

2 Answers   Infosys,


Why will you usually create an aspnet user account in the database for an asp.net web application?

0 Answers  


What would be salary for 6+ years of experience in ASP.NET in different metro city in india?

4 Answers  


What is the behavior of a Web browser when it receives an invalid element?

0 Answers   MindCracker,


what is webpart? what r the parts in this webpart (zone)

2 Answers  


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

0 Answers  


List the events in page life cycle.

0 Answers  


What is repository pattern in mvc.net? : asp.net mvc

0 Answers  


How can we Maintain more than on config file in one .Net web application and how?

1 Answers   USi,


Categories