1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Sitefinity login page

Sitefinity login page

5 posts, 0 answered
  1. Kevin Lonigro
    Kevin Lonigro avatar
    7 posts
    Registered:
    28 Apr 2006
    11 Sep 2007
    Link to this post
    I have replaced the Sitefinity login page (located at ~/Sitefinity/login.aspx) with an application specific page located in the root of the application.

    It works expected for page navigation links but when accessing a secure page through non application means (URL saved to favorites for example) the Sitefinity login page is called instead of the application specific page.

    The application specific login page is specified in the web.config file.

    Question: Is there another location where the login page should be specified or is this a hard-coded value in Sitefinity?
  2. Sean
    Sean avatar
    271 posts
    Registered:
    31 May 2006
    11 Sep 2007
    Link to this post
    Hi Kevin,

    There is a loginPage property of the cms section handler, which is defaulted to "login.aspx", that can be configured through the web.config.

    So add loginPage="../newlogin.aspx"  to the cms section like so:
    <cms defaultProvider="Sitefinity" pageExtension=".aspx" loginPage="../newlogin.aspx"  disabled="false"
             


    One issue I have noted in testing this is that you can't use the tilde(~) to resolve the url,  so if your file is outside of the sitefinity folder it has to be loginPage="../login.aspx"

    Cheers
    Sean


  3. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    11 Sep 2007
    Link to this post
    Hello Sean,

    Thank you for providing a solution. We have updated your Telerik points.

    Regards,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. Kevin Lonigro
    Kevin Lonigro avatar
    7 posts
    Registered:
    28 Apr 2006
    12 Sep 2007
    Link to this post
    Thanks Sean for the reply. It was on target and satisfies my requirements.
  5. Sean
    Sean avatar
    271 posts
    Registered:
    31 May 2006
    12 Sep 2007
    Link to this post
    Anytime!  I try my best....
Register for webinar
5 posts, 0 answered