Cold Fusion Experts: I need a login authentication to protect /folder
Posted on 2004-08-01
Okay, i want to require users to login/authenticate when any .cfm resources are requested from a folder named /protected -- once authenticated using "user" as the username and "password" as the password, the user will be redirected to /protected/somepage.cfm
I will need a Application.cfm file, a Login.cfm file and a Login-Action.cfm file.
What folder does the Application.cfm file go into, and what code should I put in it?
What CF code goes in the Login.cfm file?
What code goes in the Login-Action.cfm file?