Session Problem..

  • Thread starter Thread starter Vrushal
  • Start date Start date
V

Vrushal

hi

i want to redirect user to login page as soon as
SESSION_END fires.. i have tried with response.redirect in
session_end event but its of no use.. ne clue how to do
this ..


thankx
vrushal
 
Hi,

If had the same problem. You can either use WebForms authentication which
will automatically redirect the user to a specified login page if the
session is timedout.
Or you use the 'Application_OnAcquireRequestState' Event. Ask if
(IsNewSession) then redirect. This worked for me.

cu
Bjoern Wolfgardt
 
Back
Top