Forms Authentication
Hi,
In Web.config I'm using
<authentication mode="Forms">
<forms name="NoLimitEnginAuth" loginUrl="login.aspx" protection="All" path="/" />
</authentication>
and in a Web User Control is
<A href='Login.aspx?URL="Catalog.aspx"'>
This works and gets to the Login.aspx page, in which a button click handler finally has:
FormsAuthentication.RedirectFromLoginPage(customer Id, RememberLogin.Checked);
I want the server to send the Catalog.aspx page, but it only looks for a default.aspx page which does not exist.
MS help says "RedirectFromLoginPage redirects, based on the contents of the URL key in the Query String, or to Default.aspx ..... "
What am I doing wrong? How can the user be redirected to the Catalog.aspx page from the Login.aspx page using Forms Authentication?
Sandra MacGregor
__________________
Sandy
|