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 are the Types of object in asp
What is preprocessor in .net? Where it use?
What is the difference between a thread and a process?
Write a code for passing ArrayList in Web API?
Elaborate differentiation between ViewState and SessionState?
What is Response.Flush method ?
What is advantage of code behind coding in ASP.NET?
0 Answers Sans Pareil IT Services,
What are the server controls in asp.net?
What are validators and list some validators of asp.net?
IN an ASP.NET Web application if there is any error, how can you debug?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
When we use cookie less session? Explain its working?
0 Answers Sans Pareil IT Services,