Re: 2 Project in same WebRoot

From: Francois Soucy (Root_at_127.0.0.1)
Date: 08/21/04


Date: Sat, 21 Aug 2004 16:53:29 -0400

It's not only Journal/Admin that need form authentication ( Recette/Admin
also need a form authentification). My 2 projects need forms
authentications. Each project are different so user will not been the same.
But I've a big constraint, I can have ONLY ONE web.config in all my folder.
This unique file MUST be in webroot folder.. For the moment my Journal
project is working well with authentication form for Admin folder. For my
other project ( Recette ), I was working on everething except forms that are
in Admin folder of this project. the only solution i can consider for now is
to change my web hosting... Brinkster is really not what they said...

Thank,
Francois

"[MSFT]" <lukezhan@online.microsoft.com> wrote in message
news:ZzaqsmChEHA.3356@cpmsftngxa06.phx.gbl...
>
>
> I think you should put the <authentication mode="Forms"> inner the
> <location> element, because only Journal/admin/ need form authentication.
> For example
> :
> <location path="Journal/Admin">
> <system.web>
>
> <authentication mode="Forms">
> <forms loginUrl="Journal/admin/Login.aspx" path="/">
> </forms>
> </authentication>
>
> <authorization>
> <deny users ="?" />
> </authorization>
> </system.web>
> </location>
>
> Luke
>
>
>


Quantcast