Forms Authentication problem

From: Andy M (_at_gmail.com)
Date: 09/14/04


Date: Tue, 14 Sep 2004 12:32:32 +0100

Hi,

I am developing an ASP.NET application that uses forms authentication.
However, it contains subdirectories, and they don't get authenticated
somehow. I added a web.config and set the SignOn.aspx to the sign on
page in the application's root directory. However, if I move to a page
in one of the subdirectories it requires me to log in again. Once I log
in successfully it keeps sending me back to my sign in page.

Does anyone have any idea what I am doing wrong?

Cheers,
Andy



Relevant Pages

  • Re: Troubled authentication in subdirectories
    ... You can only have one authentication section in a web application. ... limitations you want in the specific subdirectories, that doesn't matter, ... I want to have an unrestricted root directory and some protected ... located in the root directory to protect a subdirectory: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Forms Authentication problem
    ... is the subdirectory a virtual directory? ... Dalvir ... > I am developing an ASP.NET application that uses forms authentication. ... > in one of the subdirectories it requires me to log in again. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multiple Subdirectories with different login pages
    ... them virtual directories as well. ... > <authentication> can only be specified per application. ... >> Now sites A,B, and C will all have seperate loging forms using custom ... >> I cannot place a seperate web.config in the the subdirectories with ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multiple Subdirectories with different login pages
    ... If you want different authentication schemes for the child directories then you'll have to make them applications in IIS. ... WEBSITE main directory allows anonymous users fine. ... Now sites A,B, and C will all have seperate loging forms using custom ... I cannot place a seperate web.config in the the subdirectories with ...
    (microsoft.public.dotnet.framework.aspnet)
  • How to bypass the .htaccess popup dialog
    ... A part of my website is protected with a .htaccess file. ... Can I somehow "hardcode" the authentication name and password in my php-file ...
    (comp.lang.php)