Developer forum

Forum » Rapido » Feature request : define redirect page after login/logoff from the header

Feature request : define redirect page after login/logoff from the header

Gaëtan Di Caro
Reply

Exactly what it says on the can.

Right now the login (on the modal) and logoff post the form on the page the user is on. Very often our customers want their users to be redirected to a specific page. It would be quite nice to have that feature out-of-the-box.


Replies

 
Nicolai Pedersen
Reply

You can call ExtranetLogoff.aspx in these 2 ways:

  • ExtranetLogoff.aspx?ID=123 -> will redirect to the page with id 123
  • ExtranetLogoff.aspx?redirect=http://www.google.dk -> will redirect to the url

With login form, you can add 2 hidden fields:

  • Redirect and set the value to "Default.aspx?ID=123"
  • CancelRedirect - can be set to true (or false) to prevent DW from redirecting (for use in ajax etc.)

BR Nicolai

 
Gaëtan Di Caro
Reply

Thanks for the clarification. I know how to do it, I was just suggesting that it would be nice for it to be configurable from the website settings, instead of having to modify the templates.

 
Nicolai Pedersen
Reply

Ah, sorry for the misunderstanding!

Could be a configuration.

 

You must be logged in to post in the forum