Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Excluding a page from ASP.NET forms authentication

 
Thread Tools Search this Thread
Old 01-12-2004, 08:16 PM   #1
Default Excluding a page from ASP.NET forms authentication


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
  Reply With Quote
Old 01-12-2004, 08:29 PM   #2
Steve C. Orr [MVP, MCSD]
 
Posts: n/a
Default Re: Excluding a page from ASP.NET forms authentication

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.



  Reply With Quote
Old 01-12-2004, 09:56 PM   #3
Frank Rizzo
 
Posts: n/a
Default Re: Excluding a page from ASP.NET forms authentication

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.
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump