Portal Engine
Version 2.x > Portal Engine > .NET LoginView and LoginStatus Controls Not Redirecting Properly View modes: 
User avatar
Member
Member
greg - 5/9/2007 11:38:09 PM
   
.NET LoginView and LoginStatus Controls Not Redirecting Properly
Kentico is supposed to work with the .NET LoginView control. However, when I use the LoginView control with the .NET LoginStatus control to display 'login' and 'logout' buttons, the buttons redirect to

http://192.168.1.7/KenticoCMS/CMSPages/PortalTemplate.aspx?aliaspath=/

which is not what I want. I don't seem to have any control over the redirection. Anyone know how to fix... Thx

User avatar
Member
Member
kentico_petrpa - 5/11/2007 4:08:08 PM
   
RE:.NET LoginView and LoginStatus Controls Not Redirecting Properly
Set/check the the LogoutPageUrl property which specifies the URL where user is redirected when he logs out via the LoginStatus control. Or you might use Kentico controls for handling Membership - then when applying "Sign out button", you can set the URL redirection after signing out by adding the appropriate address to the "Redirect to URL" textbox. You should use "~/" if you want to redirect the user to root.

User avatar
Member
Member
gcheadle@designkitchen.com - 5/14/2007 5:16:10 PM
   
RE:.NET LoginView and LoginStatus Controls Not Redirecting Properly
Couldn't get LoginStatus control or the CMS SignOffButton control to work inside of a LoginView control. Had to move 'Login/Logout' buttons out of the LoginView control and hide/show them manually using codebehind. Seems like LoginView control does not work with Kentico at this time.