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

Forums / General Discussions / Login Handling

Login Handling

2 posts, 0 answered
  1. Boas
    Boas avatar
    13 posts
    Registered:
    30 Sep 2008
    19 Apr 2011
    Link to this post
    Hi

    Currently when a not logged in trys to open my site, he gets an exception.
    Thats partially ok, because it is only allowed to registered users.

    But in Sitefinity 3.X he was automatically redirected to the login view instead of getting an exception.

    Is there any way to reactivate this behavior in SF 4?
    this would be really great.

    Many Thanks in advance
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    19 Apr 2011
    Link to this post
    Hi Boas,

    The error you see means that the user you use does not have view permissions for pages( or for a page). The 403 status is currently not handled and this is something that we are going to worn next Q. By default the ASP.NET SiteMapProvider also does not return information whether the page is not accessible or it is not presented in the current sitemap. Since we follow the default implementation of ASP.NET SiteMapProvider we are also affected from this issue and we are working on a solution about it. The problem is in the request  - once a user that is not authenticated tries to access a page he/she will get 404 error instead of going to the login page.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered