Skip to main content
August 29, 2009
Question

CFSchedule : Username & Password Scope

  • August 29, 2009
  • 1 reply
  • 1253 views

When using username and password attributes of cfschedule (or in CFAdmin), what scope or how do I reference them (username and password)?  Do they come in as attributes or form variables?

Thank you.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 29, 2009

    According to the documentation, the username and password is used for HTTP authentication.  If you are using basic authentication, the username/password would be available in the cgi scope

    Username : #cgi.auth_user#<br>
    Password : #cgi.auth_password#<br>

    August 31, 2009

    I setup a SCHEDULE TASKS that simply CFDUMPs the CGI variables to an email to myself. The CGI.Auth_user and CGI.Auth_password are empty strings.

    So at the present I have not figured out a way to gain access to the USERNAME and PASSWORD that is entered into the CF SCHEUDLE TASK.

    Any one have any ideas?