Hi
I have two folders in the .net application,one can be accessed by everyone adn the other needs to be accessed only through submitting login and password.
I HAVE MY WEB.CONFIG FILE AS :say root is my application name
<authentication mode="Forms">
<forms path="/" loginUrl="logon.aspx">
</forms>
</authentication>

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

<location path="master">
<system.web>

<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
I am trying to call an master/hello.aspx page from public/main.aspx using
Server.Transfer("/root/master/hello.aspx")
I am able to go to the hello page without being asked to enter my login details.

Can anyone help me in this regrad

thanks,
techno

--
Message posted via [url]http://www.dotnetmonster.com[/url]