Posted on: 2/4/2014 10:32:35 AM | Views : 566

Hi
I have a simple asp.net login page using forms authentication, here is a part of my .config file
<authentication mode="Forms"> <forms loginUrl="~/Account/Login.aspx" defaultUrl="Inter.aspx"> </forms> </authentication> <authorization> <deny users="?"/> </authorization> As you can see I have created a folder called Account, and the login page is in that folder.
Let us say I try to access a page when I am not loged in, like mysite.com/calculate.aspx. The site redirects me correctly to the loginpage mysite.com/Account/Login.com. So far so good. When I log in now, it is expected that the pge would redirect to the defaultUrl, but instead it goes on to view the page i requested mysite.com/calculate.aspx
Could anyone please help me with this?
Cheers

Go to the complete details ...