Question
client variables problem
Ami I correct in thinking I setup client variables in
application.cfm
<cfapplication
name="DrivelinkCatalogue"
clientmanagement="Yes"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0, 0, 360, 0)#"
applicationtimeout="#CreateTimeSpan(0, 0, 360, 0)#"
clientstorage="cfclientstore"
loginstorage="session">
<cfparam name="client.color" default="blue">
I've got cfclientstore pointing to a local msaccess database for testing purposes, which Coldfusion gives OK when checked in the administrator
The problem I'm finding is, my application isn't storing changes to this client variable eg.
On page setRed.cfm I can <cfset client.color="red"> and it outputs the color as red
But, if I then open another page, checkColor.cfm, it shows the value as blue
Any ideas why this might be happening ? Even though I don't want to, when I set the clientstore to registry it works fine. Something is up with my client store DSN I believe. Is a MSACCESS database ok to use ? Do I need to alter any advanced settings to accomodate MSACCESS as my client data store ?
Incidentally I did a search for anyone experiencing a similar issue and found this guy:
http://kiribao.blogspot.com/2008/05/coldfusion-client-variables-voes.html
<cfapplication
name="DrivelinkCatalogue"
clientmanagement="Yes"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0, 0, 360, 0)#"
applicationtimeout="#CreateTimeSpan(0, 0, 360, 0)#"
clientstorage="cfclientstore"
loginstorage="session">
<cfparam name="client.color" default="blue">
I've got cfclientstore pointing to a local msaccess database for testing purposes, which Coldfusion gives OK when checked in the administrator
The problem I'm finding is, my application isn't storing changes to this client variable eg.
On page setRed.cfm I can <cfset client.color="red"> and it outputs the color as red
But, if I then open another page, checkColor.cfm, it shows the value as blue
Any ideas why this might be happening ? Even though I don't want to, when I set the clientstore to registry it works fine. Something is up with my client store DSN I believe. Is a MSACCESS database ok to use ? Do I need to alter any advanced settings to accomodate MSACCESS as my client data store ?
Incidentally I did a search for anyone experiencing a similar issue and found this guy:
http://kiribao.blogspot.com/2008/05/coldfusion-client-variables-voes.html
