PDA

View Full Version : Avoid form authentication for single page


adelsl2004
08-03-2011, 08:38 AM
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

bruce
08-05-2011, 10:27 AM
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.