Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Redirect on login form doesn't seem to work View modes: 
User avatar
Member
Member
robert.phillips-binarytree - 9/7/2010 1:40:22 PM
   
Redirect on login form doesn't seem to work
I have set my login page "Default Target URL" = /Members/{%CMSContext.CurrentUser.UserName%}.aspx

However, it does not seem to log the user in prior to redirecting to that URL as they show the "Public" profile page vs. their own. Am I missing a checkmark somewhere or is cache not being updated correctly.

After a login if I go back to the page and hit the submit button again, it goes directly to the member profile page as I would like to see.

Please help!! Thanks in advance.

Rob

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/9/2010 8:25:56 AM
   
RE:Redirect on login form doesn't seem to work
Hi,

In this case, the macro will be always resolved for public user, since the current user info is not available at the moment of the redirection. You will need to modify the web part behavior and redirect the user later.

Best regards,
Juraj Ondrus