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

Types of session management in ASP.NET?

1 Answers   Microsoft,


What is a global postback url?

0 Answers  


What base class do all Web Forms inherit from?

2 Answers   Siebel Systems,


I have a DataGrid in which two of the columns are editable...i want to update the backend table with the newly edited data of the datagrid. How to do this please help me.

1 Answers   MS Technosoft, Wipro,


How does output caching work in ASP.NET?

0 Answers  


What are the different types of Session state management options available with ASP.NET?

1 Answers  


what is the dllhell? why we use the dllhell?

4 Answers  


Explain the functionality of "EnableViewState" ? What happens if you want it on or off?

1 Answers   Siebel,


What are the differences between code behind and code inline?

0 Answers  


What is sequence of code in retrieving data from database?

3 Answers   Accenture,


What is the use of SmartNavigation property?

4 Answers  


How to send a DataReader as a parameter to a remote client ?

0 Answers   Digital GlobalSoft,


Categories