> I am just trying to get the application to work on my > localhost and to transfer to another host. > ... > <!--- set default values for client variables ---> > <cfparam name="client.Email" default="Yes"> > <cfparam name="client.Stocks" default="Yes"> > ...
The tricky part here is going to be where else those variables are used in the application, and where ColdFusion has been configured to store client variables (check the settings in the ColdFusion administrator and set yours to match whatever is on the current live/production server). If they're set to be stored in a cookie, then you may not have any trouble. If they're set to be stored in a database, then it shouldn't be much of a problem. If they're set to be stored in the registry, you'll need to export the registry keys from the production server and import them on your box to preserve the existing stored client variable data (and another migration to the new server when it's ready to move). There's nothing inherently wrong with using client variables, but they can create problems when moving a site if they're set to be stored in the registry (which, unfortunately, is the default setting). Is there a specific error you're running into that isn't allowing the code to run or is it just that the user's settings on the live server aren't showing up on your test environment? -Justin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5505 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
