Author: tmadhavi | Posted on: 7/4/2008 6:27:14 AM | Views : 303

Hi all,
In my project the login page is "default.aspx " after login am redirecting the user to "index.aspx"
i have used Forms authentication.
the code included in web.config  as follows:
<configuration> 
<system.web> 
<authentication mode="Forms">
   
 <forms name=".ASPXAUTH" loginUrl="default.aspx"
protection="All" timeout="60" path="/" />
 
 </authentication>

 </system.web>
<location
path="index.aspx">
   <system.web>
   
 <authorization>
       <deny users="?" />
   
 </authorization>
   </system.web
>
 </location>

Go to the complete details ...