> Do something like this:
>
> error checking page.
>
> <CFSET ERRORMESSAGE="You must enter a valid password and user name to
> enter this site">
> <CFLOCATION URL="login.cfm?strErrorMsg#Variables.ERRORMESSAGE#">
> </CFIF>
> <CFELSE>
Actually, Netscape will fail on the message, it should be
<CFLOCATION
URL="login.cfm?strErrorMsg#URLencodedFormat(Variables.ERRORMESSAGE)#">
Personally I don't like or use CFLocation as it causes another CF request
when it's not needed
I tend to put a CFInclude in the template depending on the outcome of the
login
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists