G
Guest
Hi, friends,
When we set authentication in web.config file like the follows:
<authentication mode="Forms">
<forms loginUrl="login.aspx" name="myAppCookie" />
</authentication>
we really force a user to access login.aspx first, right?
However, in many cases, we really want to show default.aspx and some other
..aspx to visitors who are not our customers yet. We want them to look at our
web pages before they decide to create an account with us. (With above
setting, a user will have to create a new account before he/she can view any
other pages).
How can I implement this business requirment in asp.net app? Any reference
paper, sample source code?
Thanks a lot for your help.
When we set authentication in web.config file like the follows:
<authentication mode="Forms">
<forms loginUrl="login.aspx" name="myAppCookie" />
</authentication>
we really force a user to access login.aspx first, right?
However, in many cases, we really want to show default.aspx and some other
..aspx to visitors who are not our customers yet. We want them to look at our
web pages before they decide to create an account with us. (With above
setting, a user will have to create a new account before he/she can view any
other pages).
How can I implement this business requirment in asp.net app? Any reference
paper, sample source code?
Thanks a lot for your help.