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 / 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 |
Uses of CLR ?
2 Answers Mind Tree, PH Software, TCS,
can we call webservice in Html form?
1 Answers Bank Of America, BirlaSoft, Microsoft,
What object is used to encapsulate a rowset? a) DataSet b) DataAdapter c) DataRowSet d) DataTable
How can you handle unmanaged code exceptions in asp.net?
What is difference between view state and session state?
Explain the Session state management options available with ASP.NET?
What do you mean by authentication and authorization
Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?
How do I send an email message from my ASP.NET page?
what is a virtual class?
Details on web.config and global.asax - just explain what are the sections will be there.
Which two properties are there on every validation control?