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 is the Web.config file used for? a) To store the global information and variable definition for the application. b) Configures the time that the server-side codebehind module is called c) To Configure the Web Server. d) To Configure the Web browser.
8 Answers HCL, IBM, Syntax Softtech, Vypin, WideVision Technologies,
What you mean by partial Class in asp.net 2.0?
What are the built-in objects in asp.net?
Why do we need asp.net?
what is the difference between console.writeline &console.output.writeline?
What is difference between asp state management and asp.net state management?
how we declare interface
Explain the different types of directives in .net?
how to write code for role based security
Define dll hell?
What is the significance of attaching a profile while creating a user?
What is the advantage of mvc over asp.net? : Asp.Net MVC