Login Handling

Posted by Community Admin on 03-Aug-2018 05:53

Login Handling

All Replies

Posted by Community Admin on 19-Apr-2011 00:00

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

Posted by Community Admin on 19-Apr-2011 00:00

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


This thread is closed