Monday, March 26, 2012

Why not need to set Login url

I have downloaded the Portal Starter Kit from
http://www.ibuyspy.com/Default.aspx?tabindex=8&tabid=47
The authentication section of web.config is below
---
<authentication mode="Forms">
<forms name=".ASPXAUTH" protection="All" timeout="60" />
</authentication>
---
Why they didn't to set the loginUrl like this
<forms name="MyCookie" loginUrl="Login.aspx">
How does this application know the login page?It's likely that login.aspx is the default value when loginUrl is not
explicitely defined... The doc should perhaps mention this...
Patrice
"ad" <ad@.wfes.tcc.edu.tw> a crit dans le message de
news:%237DY5kgJFHA.3596@.TK2MSFTNGP14.phx.gbl...
> I have downloaded the Portal Starter Kit from
> http://www.ibuyspy.com/Default.aspx?tabindex=8&tabid=47
>
> The authentication section of web.config is below
> ---
> <authentication mode="Forms">
> <forms name=".ASPXAUTH" protection="All" timeout="60" />
> </authentication>
> ---
>
> Why they didn't to set the loginUrl like this
> <forms name="MyCookie" loginUrl="Login.aspx">
>
> How does this application know the login page?
>
>
>

0 comments:

Post a Comment