I have inherited an application that makes fairly extensive use of CLIENT 
variables (nothing complex, just simple user preferences in a multi-server 
environment), but poorly manages them. I have been tasked with the cleanup 
and maintenance of them, and I have a couple of questions regarding CLIENT 
variables in general.

1. Because I have several CLIENT variables which are used in many places 
throughout the application (several meaning about 7, but more could come 
with future enhancements), would management be easier if I retrieved all the 
CLIENT variables associated with that particular user when they log in and 
throw them into a structure? Better yet, would I be better off storing the 
variables as a structure to begin with by using WDDX?

2. We have had several instances of two people at entirely different 
companies and locations overwriting each other's client variables. For 
example, if a user logs in, the home page will say "Welcome Back, Dave 
Carabetta." However, what happens on occasion is that if the user clicks a 
link on the home page, the new page loads, but it will now say "Welcome 
Back, John Smith." This situation is not consistent, and we haven't been 
able to replicate it. Yet our customers call in and it's really happening. 
Any ideas?

3. In connection with the above problem, every now and then, when the page 
loads, instead of saying "Welcome Back, Dave Carabetta," it will say 
"Welcome Back, 523175 523175." After extensive research, it turns out that 
523175 is the value of my CFID. Upon refreshing the page, my name appears 
again as it should. Again, not consistent, yet it happens. There are 
grumblings around here that CLIENT variables are not a viable solution for 
our site, which I disagree with completely. But I don't have any proof right 
now that it's our implementation versus the underlying technology. Any more 
ideas?

4. I have seen the recommendation to change the CFID value from the default 
number to a global UUID. We are using CF on Solaris. Where is the "registry" 
entry that would need to be changed so that the new long UUID is used 
instead of the incrementing number?

5. If a user logs in using IE, and then logs in using Nutscrape or another 
browser, will they have two different sets of user preferences in the CDATA 
and CGLOBAL tables in the database? I assume they will because the browsers 
use their own cookies, but I just wanted to confirm this.

I think that's it. Thanks in advance for any and all help.

Regards,
Dave.

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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

Reply via email to