Ch 16-17 User accounts
Hi Imar,
I decided to build a new site to make sure I understand the principles in the book. I am copying major concepts from the book, but I am putting them into the new site one at a time. I ran into an issue with authentication to access certain pages.
I put the Login, Profile and Signup pages into a folder thinking I would move them aside. I couldn't get the <location> element in web.config to properly block access to the Profile page for anonymous users.
I also found that the Logged In template "Logout" link (at the bottom of the FrontEnd Master) would always look for Login.aspx in the root of the site no matter what I tried to do. I even tried to add a NavigateURL property to try to adjust the linking behavior but that didn't seem to work. I may have had to many things going wrong to be certain I had things setup correctly...
So, my ultimate question is: Do the Login, Profile and Signup pages have to be in the root of the website?
If not, do you have some pointers about what needs to be changed to place these pages off of the root?
Thanks.
Best Regards,
Alan
|