Developer forum

Forum » CMS - Standard features » Redirect after login

Redirect after login

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I have a page that is blocked by setting permissions on the page. This renders the Login forum. Is there way to tell Dynamicweb the destination page to *redirect* to after logging in? I know I can se the action of the forum to a different page, but I would like to have a GET request after logging in to prevent people from submitting the login credentials again when they refresh the page (which they'll need to do on the destination page).

Thanks,

Imar


Replies

 
Morten Bengtson
Reply
This post has been marked as an answer

You can add a "Redirect" parameter to the URL, e.g. /Default.aspx?ID=123&username=test&password=1234&redirect=%2fDefault.aspx%3fID%3d9999

Remember to encode the redirect parameter, otherwise you can confuse the "Customized URLs" functionality in DW.

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Excellent, thanks for the quick reply.
 

 

You must be logged in to post in the forum