Developer forum

Forum » Development » Redirect on session timeout

Redirect on session timeout


Reply
How do I set the redirect url on Extranet session timeout? Is it a setting somewhere or ...?

Replies

 
Nicolai Høeg Pedersen
Reply
You can create a logoff link like this:

/Admin/Public/ExtranetLogoff.aspx

And you can add the page to redirect to after the logoff like this:

/Admin/Public/ExtranetLogoff.aspx?ID=123

Then the logoff will execute and redirect the user to the page with the ID 123
 
Arnaldo Sena
Reply
is possible to send other parameters to the page? like ...
/Admin/Public/ExtranetLogoff.aspx?ID=123&client=3

 
David Matheson
Reply
See no reason why not, as you can capture client=3 at ID=123 using
<!--@Server:Request.client-->
See the manual for more info

David
 
Nicolai Høeg Pedersen
Reply
@Arnaldo

You cannot send addition parameters as it is now. But I'll change it so you can for 8.0.2.0

An option is to make a notification scubscriber: Notifications.Standard.User.OnBeforeExtranetLogOff and do your redirect in that.

 
Arnaldo Sena
Reply
@Nicolai

Your suggestion works, thank you.

 

You must be logged in to post in the forum