Goal:
I want to allow unauthenticated (logged out) web users to be able to access several special pages. For example, if a user has trouble logging in, he/she should still be able to navigate to a “HelpMe” page.
Background:
First, this is a working application. It allows access by authenticated users just fine, and unauthenticated users are redirected to the login page as usual. The web site uses forms authentication. We’re only having a problem when we try to allow anyone to navigate to the HelpMe.aspx page without logging in first.
We’re running VS2010 Pro and IIS 7, on both Windows 7 and Server 2008R2 with all updates.
Here are the relevant sections in web.config:
<system.web>
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" defaultUrl="~/Default.aspx" slidingExpiration="true" timeout="120" />
...
Go to the complete details ...