![]() |
|
|
|||||||
![]() |
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. Steve C. Orr [MVP, MCSD] |
|
|
|
#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. Frank Rizzo |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Asynchronous process from asp.net page button click event? | Ritha | Software | 0 | 09-29-2009 03:20 PM |
| viewstate MAC failed in asp.net 2.0 while postback the page | azraffarveen | Software | 0 | 05-12-2009 03:24 PM |
| Nested forms and server-side control in ASP.NET | mredelin | Software | 0 | 12-20-2007 09:12 PM |
| Use page methods in another page at asp.net 2? | ahmad_n80 | Software | 0 | 07-29-2007 07:14 PM |
| on submit validation with Master Page in ASP.net 2.0 | dipesh10 | Software | 0 | 06-27-2007 02:33 PM |