configuring web.config

N

NITIN MUNJAL

Hi
i have register.aspx and forgotpass.aspx pages to register and recovery
of password..these had to be beyond the reach of web.config...

so now i have a folder 'nitinm' in the root directory where
default.aspx etc., all files which have to be secured are stored. +
register.aspx and forgotpass.aspx + default.aspx(which redirects to
/nitinm/default.aspx) + web.config which looks like this:

<?xml version="1.0" encoding="UTF-8" ?>

<configuration>
<location path="nitinm">
<system.web>
<authentication mode="Forms">
<forms name=".Nitin_Munjal" loginUrl="login.aspx" path="/nitinm"
protection="All" timeout="30"/>
</authentication>

<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
</configuration>

WHAT MODIFICATION SHALL I MAKE TO MAKE THIS CODE WORK.
THANKS IN ADVANCE
NITIN
 

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

Top