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
Under normal circumstances, the Session ends for two
1) it has timed out automatically, by default after 20
inactivity, though this figure can be changed
2) it has been ended explicitly ("torn down", to use the
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 syntax for datagrid and specifying columns ?
Is viewstate secure?
Why mvc is better than asp.net? : Asp.Net MVC
What language does asp.net use?
What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
What is the use of dispose method?
Explain automatic memory management in .net.
How can we register exception filter globally?
What asp.net control can embed xaml into asp.net pages?
Which method do you use to kill explicitly a users session?
What is client side state management?
Any disadvantages in Dataset and in reflection ?