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 |
What's a bubbled event?
How do you manage session in ASP and ASP.NET?
Define Query Interface,Adref,Release?
What is a viewbag?
What language does asp.net use?
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
What is the parent class of all web server control?
What is caching and types of caching ?
Can you change a Master Page dynamically at runtime?
Which of the following .NET framework supports Web API?
What command line used to generate Runtime callable wrapper.
What is dynamic web page with example?