Avoid form authentication for single page

Discussion in 'ASP.NET / ASP.NET Core' started by adelsl2004, Aug 3, 2011.

  1. Hi guys,

    I have this asp.net website, the website use webform authentication, I set up a Scheduled Task to call a page everyday, this page is suppose to send mails to user, nothing is happening.

    It's possible webform authentication be the reason Scheduled Task does not work?

    How can I avoid webform authentication for a single page?

    Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I am not sure if you can do that.

    I recommend you do the following

    - Put the page that the scheduler calls in a sub folder
    - Mark that folder as an application root and change authentication within the child web.config.
     

Share This Page