Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirect on session timeout
#5
(04-16-2021, 05:59 PM)PDSBILL Wrote: I have a Isapi intraweb app that when a sesssion timeout occurs i want to terminateAndRedirect to a specific URL not restart the sesssion
I have tried using OnSessionRestarted, but the terminateAndRedirect access violates.

Is there another way to do this?


OnSessionRestarted occurs after a new session is created in response to a new request, meaning that you can't actually handle a session timeout from there. If 

A better way to handle this is handling the exception using the example that JNP posted above
Reply


Messages In This Thread
Redirect on session timeout - by PDSBILL - 04-16-2021, 05:59 PM
RE: Redirect on session timeout - by DanBarclay - 04-16-2021, 09:10 PM
RE: Redirect on session timeout - by DanBarclay - 04-17-2021, 03:14 AM
RE: Redirect on session timeout - by Alexandre Machado - 04-23-2021, 07:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)