Skip to main content
Inspiring
July 3, 2008
Question

client variables - quick confirmation

  • July 3, 2008
  • 3 replies
  • 430 views
Can someone confirm something with client variables...


1. <cfparam name=client.colour value="blue"> in application.cfm
2. On a web page <cfset client.colour="red"> and the same page confirms this when I cfoutput the value
3 If I check that value on yet another page, it should be red, shouldn't it ? But, instead its blue

I'm having a major problem with cfclientstore=myDSN where it points to an Access2007 database via an ODBC socket connection.
This topic has been closed for replies.

3 replies

Inspiring
July 3, 2008
Yes, I did manually create them. They exist - and when I check them, they store "blue" for client.colour

I'm going to completely re-install CF from scratch again. Any problems and I'll head back here.
Inspiring
July 3, 2008
sorry about that, my application.cfm does actually use the correct format
<cfparam name="client.colour" default="blue">

I'm still getting the problem - does anyone else use MS Access 2007 ? When I look at the database it's storing "blue" but when I'm changing the value in another page with <cfset client.colour="red"> its not storing this change in the access database

I've tied upgrading CF from 8.0 to 8.01 with still no joy
I read Adobe's advice on a lack of Access 2007 driver, and used the ODBC socket instead but still no joy

Is there anything in my cfapplication that could be messing around ?

<cfapplication
name="Catalogue"
clientmanagement="Yes"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0, 0, 360, 0)#"
applicationtimeout="#CreateTimeSpan(0, 0, 360, 0)#"
clientstorage="cfclientstore"
loginstorage="session">
Inspiring
July 3, 2008
Hi,

Since you are using ODBC drivers you must manually create the necessary CDATA and CGLOBAL database tables in your MS Access DB..

Make sure that you have those in your DB before proceeding..
Inspiring
July 3, 2008
quote:

Originally posted by: Dax Trajero
Can someone confirm something with client variables...


1. <cfparam name=client.colour value="blue"> in application.cfm



It should like,

<cfparam name="Client.colour" default="blue"> in your application.cfm
(quotes missing in the name attribute and also change your "value" attribute as "default")

then have a try again...