P
Paul
Geezuz, I feel like a fool but I can't get this SIMPLE redirect out of
IIS to hit my login page. Here's the Web.Config code:
<authentication mode="Forms">
<forms name="AuthTicket" path="/" protection="All"
loginUrl="login.aspx" timeout="10">
<credentials passwordFormat="Clear">
<user name="Paul" password="xyz" />
</credentials>
</forms>
</authentication>
<identity impersonate="false"/>
As you can see this is pretty simple stuff. I am in the IDE, I am using
localhost for the project, I start the project which immediately
requests a page with data on it, and I'm expecting that IIS will
redirect to the loginUrl. It doesn't. It blows it off.
My understanding is that any page I request from the root of this
project needs a request header with an authentication cookie or IIS will
automatically redirect to the loginUrl. That's all I know at this point.
Troubleshooting I did:
1. Misnamed some of the attributes in the above code and startup always
did read it and produce the correct exception. It reads the file.
2. Stopped and restarted IIS and aspnet_wp.
3. Rebooted.
How could this not work? Wow, I feel stupid tonight but it looks "OK"
to me.
~Paul
IIS to hit my login page. Here's the Web.Config code:
<authentication mode="Forms">
<forms name="AuthTicket" path="/" protection="All"
loginUrl="login.aspx" timeout="10">
<credentials passwordFormat="Clear">
<user name="Paul" password="xyz" />
</credentials>
</forms>
</authentication>
<identity impersonate="false"/>
As you can see this is pretty simple stuff. I am in the IDE, I am using
localhost for the project, I start the project which immediately
requests a page with data on it, and I'm expecting that IIS will
redirect to the loginUrl. It doesn't. It blows it off.
My understanding is that any page I request from the root of this
project needs a request header with an authentication cookie or IIS will
automatically redirect to the loginUrl. That's all I know at this point.
Troubleshooting I did:
1. Misnamed some of the attributes in the above code and startup always
did read it and produce the correct exception. It reads the file.
2. Stopped and restarted IIS and aspnet_wp.
3. Rebooted.
How could this not work? Wow, I feel stupid tonight but it looks "OK"
to me.
~Paul