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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How does windows service lifecycle differ from a .standard. Exe?

969


Where is session data stored in asp net?

920


Can you nest updatepanel within each other?

927


What is state management react?

961


how to include timer or counting time to display next page in asp.net

2094


Which adapter should you use, if you want to get the data from an access database?

933


What is OSI layer? Explain different layers.

1003


Define repository pattern in asp.net mvc? : asp.net mvc

943


How you can add an event handler?

917


What is the difference between stored procedure vs function?

978


What is inproc mode in session?

882


What are the asp.net server side objects?

924


What are cao and sao.

986


Does asp.net still recognize the global.asa file?

1018


Which data type does the rangevalidator control support?

897