> If you are using cookies to store client vars then keep in > mind that cannot use a CFLOCATION after a <CFSET CLIENT....> > statement. The following will cause the client var not to be > set: > > <cfset client.userID = 1> > <cflocation url="home.cfm">
This isn't necessarily true. You can't use CFCOOKIE and CFLOCATION on the same page, but if the CFAPPLICATION tag has already set the cookies on a previous page, then the client variables themselves can be set in the same page as a CFLOCATION, unless the client storage option is set to "cookie". > Also, beware using the registry to store client vars! Now that's certainly true! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

