Well, I'm using comes of these variables to maintain state...I'm timestamping each pageview with CLIENT.lastAccess, and testing to see how long it's been since the last lastAccess. If it's more than 30 minutes, then I delete CLIENT.isAuthenticated, and the user will then need to log in again. In this case, though CLIENT.lastAccess just disappears, but CLIENT.isAuthenticated stays. The logoout process deletes the isAuthenticated variable, but I've cfaborted before the deletion of the client variables, and lastAccess is gone, but isAuthenticated is still there. I'm not deleting lastAccess anywhere but in the logout template.
-Kev -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 10:52 AM To: CF-Talk Subject: Re: Loss of CLIENT variables due to empty quotes in an HTML tag? Kevin Langevin wrote: > > 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? Are you losing just these variables or are you losing state? Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

