You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > MyAccount Class > MyAccount Properties > RedirectUrl
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
MyAccount.RedirectUrl Property

Enter the path of a template that contains the Login server control. When a site visitor arrives at this control and is not logged in, the control checks this property for a path to template containing a Login server control. If one exists, the site visitor is sent to that template. Once he’s logged in, he’s returned to the template containing the MyAccount server control. If no path exists, the control checks the following key the web.config file for a path.

<add key=”ek_RedirectToLoginURL” value=”” />
C#
[Category("Ektron")]
[TypeConverter(typeof(string))]
[Description("This value may be set to point to a login page, when an unauthenticated visitor is detected.")]
[DefaultValue("")]
public string RedirectUrl;
Visual Basic
<Category("Ektron")>
<TypeConverter(typeof(string))>
<Description("This value may be set to point to a login page, when an unauthenticated visitor is detected.")>
<DefaultValue("")>
Public Property RedirectUrl() As string
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!