Hi ad,
In your configure setting, once an user requests any page in the
application, it will automatically redirect to Login.aspx. Once the user
successfully signs in, you can use
System.Web.Security.FormsAuthentication.RedirectFr omLoginPage
method to redirect to requested page.
HTH
Elton Wang
"ad" wrote:
I have define a LoginUrl in Web.config like:
<authentication mode="Forms">
<forms name="HealthCookie" loginUrl="Login.aspx" protection="Validation"
timeout="99999">
How can I refer the LoginUrl with program?