I've trying to follow this example.
There's one problem im facing is whenever im at the Login.aspx page or being redirected to there, my CSS styles does not show up. Only when i logged in successfully and when it redirect to default.aspx my css style is showing up properly.
Any ways to get my CSS working properly?
Update #1:
I've managed to add the to the webconfig like this:
<location path="Styles/style.css">
<system.web>
<compilation debug="true" targetFramework="4.5"/>
<httpRuntime targetFramework="4.5"/>
<authentication mode="Forms">
<forms name=".ASPXUSERDEMO" loginUrl="Login.aspx" protection="None" timeout="60"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
<globalization requestEncoding="UTF-8" responseEncoding="UTF-8"/>
</system.web>
</location>
But one issue is my pages are not longer secured by forms authentication anymore. How can i fix it? thanks!
CSSfor both pages or create amaster pageand add style for it.