I threw this explanation at my coworkers and they both in unison reminded me that this problem goes away as soon as we remove some empty qotes in 4 <img> tags in the page in question. If we put even a bogus filename into the quotes, everything works fine. Remove the filename from the image tag leaving empty quotes, and refresh the screen, and that client variable is gone.
-Kev -----Original Message----- From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:27 PM To: CF-Talk Subject: RE: Loss of CLIENT variables due to empty quotes in an HTML tag? I not really sure. Once we found out about this, I didn't spend a lot of time playing with it. We just recoded a bit and kept a lot more info sql-side and used cached queries rather than set everything to client variables. Matthew P. Smith Web Developer, Object Oriented Naval Education & Training Professional Development & Technology Center (NETPDTC) (850)452-1001 ext. 1245 [EMAIL PROTECTED] -----Original Message----- From: Kevin Langevin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 3:01 PM To: CF-Talk Subject: RE: Loss of CLIENT variables due to empty quotes in an HTML tag? Hmmm...I was not aware of this. I don't know if we're hitting thatr limit or not. Is there any rhyme or reason to which one(s) would get dropped? Is it the last modified, perhaps? -Kev -----Original Message----- From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 3:37 PM To: CF-Talk Subject: RE: Loss of CLIENT variables due to empty quotes in an HTML tag? Not just that variable, but ALL client variables for that user. So if you are setting more than one client variable, it would be the length of all the data in all the client variables per user. For instance, if a user has one client variable with a length of 60000 and another client variable with a length of 10000, that would cause one to end up undefined. Also, it's a non-issue if you are on MX, I believe. Matthew P. Smith Web Developer, Object Oriented Naval Education & Training Professional Development & Technology Center (NETPDTC) (850)452-1001 ext. 1245 [EMAIL PROTECTED] -----Original Message----- From: Kevin Langevin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 2:27 PM To: CF-Talk Subject: RE: Loss of CLIENT variables due to empty quotes in an HTML tag? Unfortunately this can't be the problem...it's just a simple date/time (ie #now()#) -----Original Message----- From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 2:23 PM To: CF-Talk Subject: RE: Loss of CLIENT variables due to empty quotes in an HTML tag? I ran into a client var disappearing in the past. I believe that pre-MX CF had a 65000 length limit on the total data per client, and when it was exceded a client variable would become undefined. What is the total length of the values of all your client variables? Matthew P. Smith Web Developer, Object Oriented Naval Education & Training Professional Development & Technology Center (NETPDTC) (850)452-1001 ext. 1245 [EMAIL PROTECTED] -----Original Message----- From: Kevin Langevin [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 9:30 AM To: CF-Talk Subject: Loss of CLIENT variables due to empty quotes in an HTML tag? I tried sending this last night, but it doesn't seem to have made it to the list, so here it is again... I've just spent hours trying to figure out what's causing some really bizarre issues with SOME of the client-scoped variables set in an application I'm running to disappear. We've been trying to nail down at what point they disappear, and it's very elusive. The weirdest part of it all is that we've narrowed the cause of this to four lines of code in a page that you land on after logging in (which sets a number of these client variables). These lines of code were four <td>s each of which contains an <img> tag with an empty src attribute (ie. src=""). If we remove these four lines, everything works fine. If we put them back in, on any kind of page refresh or clicking on any link at all, our script which checks for the existence of CLIENT.lastAccess and checks to see if it's more than x minutes old triggers because client.lastaccess doesn't exist anymore.I can verify that the very last line of my ONREQUESTEND.CFM file sets and displays CLIENT.lastAccess just fine. I'm not aware of HTML throwing errors or having a problem with empty quotes, nor am I aware of ColdFusion having any such problem (empty quotes in HTML tags, not CF tags). We've crawled every line of code being run through the whole process, and haven't been able to determine anything else. Just that if we remove those lines of code with the img tags in it, or put anything at all inside those quotes, everything works fine. Anyone able to shed some light on this situation? -Kev ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4