More in this section
Forums / General Discussions / Login Handling

Login Handling

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Boas
    Boas avatar
    13 posts
    30 Sep 2008
    19 Apr 2011
    Link to this post

    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
    12 Sep 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