This should be easy but I am brain dead today after working on email server till 3am.
I have two passworded pages, what I need is, if password1 is used it goes to
page 1, if password 2 is used it goes to page 2.
What I have right now is for on one page is:
<cfif (trim(login_password)) is NOT "password1">
<h2>You entered an incorrect password!</h2>
<cfabort>
</cfif>
How can I get it to check and see that if password2 is used it will go to page2.cfm and if password2 is not used, to check and see if password1 is used. If it is then go to page1. If neither is used to abort.
I have two passworded pages, what I need is, if password1 is used it goes to
page 1, if password 2 is used it goes to page 2.
What I have right now is for on one page is:
<cfif (trim(login_password)) is NOT "password1">
<h2>You entered an incorrect password!</h2>
<cfabort>
</cfif>
How can I get it to check and see that if password2 is used it will go to page2.cfm and if password2 is not used, to check and see if password1 is used. If it is then go to page1. If neither is used to abort.