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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top