Skip to main content
November 11, 2010
Question

Bypass application.cfm login for a certain page

  • November 11, 2010
  • 1 reply
  • 1029 views

I have a member website that requires login. The Application.cfm file is in the root folder. I have the "register" page hosted on a separate website with a different host. (I am in the process of migrating the member website from the current server/host to a new server/host). I plan to keep the public side of the current/old website for marketing purposes and to register new members. Only problem is, I now have to figure out how to get the newly registered members' information into the MySQL database housed on the new server that is password protected at the root folder. I can't get past the login page to run the .cfm page that will insert the info into the database.

I thought about using a PHP or ASP script to insert the data, but I am not at all familiar with either languages, especially how to encrypt the password for the newly registered account (the equivalent to "#Hash(password)#").

So, I'm wondering if there is any way to allow a certain page to be exempt from login. Or, find out if anyone has any other ideas that may work.

I'm on a shared server with CF9 and Windows.

Thank you for any suggestions.

    This topic has been closed for replies.

    1 reply

    Inspiring
    November 11, 2010

    So, I'm wondering if there is any way to allow a certain page to be exempt from login. Or, find out if anyone has any other ideas that may work.

    You're pretty much describing the solution in narrative form there.

    Put a conditional in your Application.cfm that bypasses the login if the requested URL (or template, depending on how your site is designed) is one of these "special" ones.

    Or if your template is in a subdirectory (which, by the sounds, it ought to be), then put a different Application.cfm in that subdir.  One that restricts access based on IP address or something rather than login authentication (because you'd not want just anyone accessing that URL, obviously).

    --

    Adam