Web Page Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to add access to a LogOut Page when the user logs out in a form authentication mode. Unfortunately the only way to access this page is when you are logged on. The following is in my WEbConfig File

<authentication mode="Forms
<forms name="MyCookie
loginurl="Login.aspx
protection="all
timeout="1440" />
</authentication><authorization><deny users="?" /></authorization

Someone had mentioned using a Location clause to be able to access this page, but I do not know where and how to place this clause? Thanks for any help...
 
look at the <location></location> tag to exclude from security/auth model

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


Angel said:
I need to add access to a LogOut Page when the user logs out in a form
authentication mode. Unfortunately the only way to access this page is when
you are logged on. The following is in my WEbConfig File:
<authentication mode="Forms"
<forms name="MyCookie"
loginurl="Login.aspx"
protection="all"
timeout="1440" />;
</authentication><authorization><deny users="?" /></authorization>

Someone had mentioned using a Location clause to be able to access this
page, but I do not know where and how to place this clause? Thanks for any
help...
 
Can you elaborate on how it should look like on the webconfig file I would really appreciate it. I tried looking for this on MSDN o no avail

Thanks
 
<configuration>
.....
<system.web>
.....
</system.web>
<location path="Error.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
</configuration>

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


Angel said:
Can you elaborate on how it should look like on the webconfig file I would
really appreciate it. I tried looking for this on MSDN o no avail.
 
Back
Top