How to redirect any page to Login.aspx? I tried but...
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi,
How to redirect any page to Login.aspx? I tried writting this in
web.config
<authentication mode="Forms">
<forms name="aucoockie" loginUrl="wf_login.aspx"
protection="All" path="/" />
</authentication>
<authorization>
<allow users="?" />
</authorization>
But when I try to access:
http://localhost/MyPath/WebPage1.aspx
I can ! What I am missing to set up?
.
Relevant Pages
- Re: How to redirect any page to Login.aspx? I tried but...
... How to redirect any page to Login.aspx? ... I tried writting this in ... What I am missing to set up? ... (microsoft.public.dotnet.framework.aspnet) - Re: Bypass forms authentication
... > My application uses forms-based authentication. ... If the database connection fails I want the user ... > subfolder and set the authorization to allow all users, ... but it doesn't work if I redirect in the code. ... (microsoft.public.dotnet.framework.aspnet.security) - Forms Authentication & Application_AuthenticateRequest
... If you don't have a login, then a person clicks on the Registration button ... to redirect to the page of their choice. ... HttpApplication app = sender; ... (microsoft.public.dotnet.framework.aspnet.security) - Re: FormsAuthentication doesnt automatically redirect upon timeout
... MVP ASP/ASP.NET ... doesn't redirect upon timeout when a secured resource is accessed. ... Instead it throws an exception when I try to access and use the value ... (microsoft.public.dotnet.framework.aspnet) - Re: problems with windows basic authentication
... The user should login with his windows credentials in basic.aspx and automatically redirect to his own files. ... Dim ToSite As String ... The user_1 uses his windows credentials and will redirected to his own files app/basic/user_1/index.aspx, but this site doesnt work and i dont know why? ... (microsoft.public.dotnet.framework.aspnet) |
|