StyleSheet and Authentication

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.
 
P

PJ on Development

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
 
M

Marine

Thanks !

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top