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, 09: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, 09: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.





Steve C. Orr [MVP, MCSD]
  Reply With Quote
Old 01-12-2004, 10: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.


Frank Rizzo
  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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46