BE 2.0 login oddity

Topics: ASP.NET 2.0, Business Logic Layer
Nov 25, 2010 at 1:05 PM
Edited Nov 25, 2010 at 1:26 PM

When I login as an administrator I am directed to the front page of the blog, however logging in as a user the login screen just sets there and one has to click on Return to Blog to get to the front page, I think it should be the same for a user or an administrator.

I think the current setup would confuse some users.



For some reason the above is not recurring, it is working fine. 



Nov 25, 2010 at 5:50 PM

I've seen that.  I think it depends where you came from.  If you are stuck in an endless loop like that, if you look at the URL, you'll probably see something like ?ReturnURL=......   What happens is when you Login, you are being redirected to the location after "ReturnURL".  But that location you are being redirected to doesn't have the Rights to be on that page (based on which roles that user is in).  Because the rights are insufficient, you are redirected back to the login page.  It's possible we can make some improvements here since it can be confusing.