U
UJ
I have a web site that is secure by forms authentication. I've put in
changes to allow a virtual directory to be accessed by everyone but it
doesn't seem to have taken. I always end up being pushed back to my login
page.
I then took out all authentication - made it allow all and I'm still being
forced back to the my login page. Is there anything I need to do to force
the changes to happen?
Also - could somebody check my code to make sure that what I'm doing is
correct? (There is other stuff in there - I just don't bother including it.)
WebServices is a virtual directory off the root of my web site.
<configuration>
<location path="WebServices/ClientSoftware.asmx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
<system.web>
<authentication mode="Forms">
<forms name="Login" loginUrl="/Login.aspx" protection="All"
path="/" timeout="30"></forms>
</authentication>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>
changes to allow a virtual directory to be accessed by everyone but it
doesn't seem to have taken. I always end up being pushed back to my login
page.
I then took out all authentication - made it allow all and I'm still being
forced back to the my login page. Is there anything I need to do to force
the changes to happen?
Also - could somebody check my code to make sure that what I'm doing is
correct? (There is other stuff in there - I just don't bother including it.)
WebServices is a virtual directory off the root of my web site.
<configuration>
<location path="WebServices/ClientSoftware.asmx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
<system.web>
<authentication mode="Forms">
<forms name="Login" loginUrl="/Login.aspx" protection="All"
path="/" timeout="30"></forms>
</authentication>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>