Hi,
I have a login form with a username/password field and a department drop-down menu.
Goal - After they click login, they are directed the department home page that they chose in the ddDeptName drop-down list (ex: /dept/accounting/index.cfm)
My form action="" - where ddDeptName is the name of the dept drop-down menu.
I know that I can accomplish this by using a processing page before sending the user to their department homepage.
This page receives the form variables, check them to the database and states "login successful, please click here to go to your department's homepage".
Question:
How would I do this without a processing page?
One possible solution?:
Use a dummy page on action= ""
Intercept the process in the OnRequestEnd.cfm file
Put the username/password verification code into OnRequestEnd.cfm and upon successful account validation, redirect the user to their department's home page using <cflocation = /dept/#FORM.ddDeptName#/index.cfm>
Thanks,
Micky
Create a Job Alert on MSN Careers and enter for a chance to win $1000!
