![]() |
|
|
|||||||
![]() |
ASP Net - Excluding a page from ASP.NET forms authentication |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Asp.net form authentication is fantastic.
I want to place a link on the Login page to a “Register for this web site” page (register.aspx) . How do I exclude register.aspx from Form Authentication? Thanks. Frank Rizzo |
|
|
|
|
#2 |
|
Posts: n/a
|
You can specify some pages to require login, and others to not require login
via your web.config file by using the <location> tag. Here is an example with sample code that you can download and play with. http://www.dotnetbips.com/displayarticle.aspx?id=117 -- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net Hire top-notch developers at http://www.able-consulting.com "Frank Rizzo" <> wrote in message news:... > Asp.net form authentication is fantastic. > > I want to place a link on the Login page to a “Register for this web > site” page (register.aspx) . How do I exclude register.aspx from Form > Authentication? > > Thanks. |
|
|
|
#3 |
|
Posts: n/a
|
Steve C. Orr [MVP, MCSD] wrote:
> You can specify some pages to require login, and others to not require login > via your web.config file by using the <location> tag. > > Here is an example with sample code that you can download and play with. > http://www.dotnetbips.com/displayarticle.aspx?id=117 Thanks. This worked great. |
|