I have a web site with an index page with links to secure and non-secure pages. The authentication is done via an Application.cfm page using <cfparam name="session.allowin" default="false"> with a redirect to the login form if "session.allowin neq true". The user enters a name and password into the login form whose "action" is to a checkuser.cfm template where the user's form username and form password are first validated against an ntsecurity.cfc using cfinvoke and if false are redirected back to the login form with an error message, but if not the user's details are then checked against an AD using cfldap. If true a cflocation url takes them to a "secure" index page. The scripts have been working fine for over a year and I'm loathe to fix something that aint broke but I would now like to amend it so that the user is taken to the secure url of the link they chose in the index.cfm page rather that have to choose the link again in the secureindex.cfm page once authentication has been passed. I've tried re-writing the scripts to use cflogin and using cfset FormAction="#CGI.SCRIPT_NAME#" but I just seem to be getting more and more bogged down. Any assistance would be appreciated.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291534 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

