Login redirect not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This works in my VS IDE and was temporarily worknig on my publsied web site,
but now the redirect to ~/secure/Default.aspx always returns to my login
page. Here's a partof the web.config file taht deal with forms
authentication (note that I am using SQL Server membership and role
providers):

<authentication mode="Forms">
<forms name="CookieName" loginUrl="UserLogin.aspx"
defaultUrl="~/secure/Default.aspx" timeout="15" path="/" />
</authentication>
<authorization>
<deny users="?" />
<allow users="*" />
</authorization>

Thx
 
Back
Top