Developer forum

Forum » CMS - Standard features » Redirect user after logout

Redirect user after logout

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Is there a way to control the redirect of a user upon logout?
We have a setup where the user is left on a page that is restricted for anonymous users and when logging out, it displays a nasty page message.

I am sure there is a configuration that can help with this use case but I can't figure it out.

Thank you,
Adrian


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

You can add redirect=someurl to the LogOff link:

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

I think the default is "no" for the redirect parameter in Swift.

Imar

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Thank you very much!


Adrian

 

You must be logged in to post in the forum