Login redirect not working

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top