Default url property is not working when redirecting

TheGodfather

New Member
I'm facing a problem. I have already set the default url in web.config \[code\] <authentication mode="Forms"> <forms loginUrl="Home.aspx" defaultUrl="Admin/AdminHome.aspx"> <credentials passwordFormat="Clear"> <user name="admin" password="admin"/> </credentials> </forms> </authentication>\[/code\]but when I try to login using the username, password i think its redirecting to the page itself with the url \[code\] /Home.aspx?ReturnUrl=%2fAdmin%2fAdminHome.aspx\[/code\]please tell me the solution.
 
Back
Top