Here's the problem:
I have a start page called Main.aspx. I use forms authentication.
Initially when the user logs in it goes to Main.aspx
After calling FormsAuthentication.Signout i have
Response.Redirect("Login.aspx"). When user logs out he is presented with
login.aspx So far fine. However, when the user logs in AGAIN, this
time, instead to going to Main.aspx, it looks for defualt.aspx and gives
an error saying "this resource cannout be found".
Please help!
Raymond Lewallen - 05 Aug 2004 21:05 GMT
Set the loginUrl attribute of your forms element in your webconfig file to
"Main.aspx"
<authentication mode="Forms">
<forms name="MyApp" loginUrl="main.aspx" protection="All" timeout="20"
path="/"/>
</authentication>
> Here's the problem:
> I have a start page called Main.aspx. I use forms authentication.
[quoted text clipped - 6 lines]
>
> Please help!
abm - 12 Aug 2004 20:52 GMT
I get the same error despite having the lgoinUrl = main.aspx.
<authentication mode="Forms">
<forms name="MyApp" loginUrl="main.aspx" protection="All" timeout="20"
path="/"/>
</authentication