Session Problem..

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
 
B

Bjoern Wolfgardt

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top