Form Authentication
Hi, I know a few things about how Form Authentication work and I have done it on several occasions but I am having some problems. The problem is that there is no ReturnURL.
I have my web.config file set up as the rest of my projects and the rest of the projects work fine. but whenever I try to enter a restircted page on my current project, it takes me to the login page without any ReturnURL in the URL parameters. which is why I can't redirect the URL to the page they actualy asked for (there are a/b 5 pages that are restricted).
Here are some part of web.config:
Code:
<authentication mode="Forms" >
<forms
loginUrl="catalog/login.aspx"
slidingExpiration="true"
timeout="100"
path="/"/>
<location path="catalog/AccountInfo.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
this is really irritating me since some of the page also use URL varaiables to pass some of the values which cannot be easily passed other ways but that is not the point. the problem here is I never get a return URL when the user is redirected to login.
Thanks in advance.
new to programming but getting ther