StyleSheet and Authentication

  • Thread starter Thread starter Marine
  • Start date Start date
M

Marine

Hi,

When i use this in the web.config file :

<authentication mode="Forms" >
<forms defaultUrl="Console.aspx" loginUrl="Identification.aspx" ></forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>

.... the StyleSheet and StyleSheetTheme of the Identification.aspx page are
not working. They work only when authentification is ok.

Is there a way to avoid this ?

Thanks.
 
Hi, Marine

Yes, there is, add the foollowing outside the <system.web> but inside
the <configuration>

<location path="Your_Relative_Style_Path_Goes_Here">
<system.web>
<authorization>
<allow users="?"/>
<allow users="*"/>
</authorization>
</system.web>
</location>

Regards,

Paulo Santos
http://pjondevelopment.50webs.com
 
Thanks !

My stylesheets are on the same directory than the Identification.aspx.
What do i have to use for the path ?
 
Back
Top