<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 7 - htmldocs - 00000217.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T18:40:15</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#53623" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#42221" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#40225" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#40086" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#36799" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#33492" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#53623">
		<title>coldfusion/7/htmldocs/00000217.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#53623</link>
		<description>Confirmed here as well.  We were getting &quot;500 null&quot; errors that were seemingly random across our 11-server application cluster.  After some digging and testing and debugging, I managed to determine that the &quot;500 null&quot; error was only occuring when a user logged out of our application.  In picking apart the logout() function, I realized we were also utilizing structClear(client) as well as structClear(cookie) to wipe out the user's client variables.  When this executed, I noticed that the &quot;500 null&quot; errors would begin.  Only way to resolve them was to restart the CF app server instance on whichever node had been corrupted by a call to this function.  That behavior got me thinking that maybe something about using structClear(client) was causing issues with ColdFusion.  That's then I found this set of comments, made th recommended change of adding a &quot;client.hitcount=1;&quot; after clearing the client struct, and our &quot;500 null&quot; errors have now completely vanished!&lt;br /&gt;&lt;br /&gt;Adobe, PLEASE note this as a bug and correct this behavior in the next updater.&lt;br /&gt;&lt;br /&gt;Tyson Vanek</description>
		<dc:creator>*** Tyson ***</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-09-29T16:47:47</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#42221">
		<title>coldfusion/7/htmldocs/00000217.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#42221</link>
		<description>I've been pulling my hair out because of the problem with &quot;500 null&quot; displaying. I have an application where I use structclear(client) on logout. I simply added &lt;cfset client.hitcount = 1&gt; after the StructClear, and problem was solved.</description>
		<dc:creator>Holger L</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-11-12T07:06:52</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#40225">
		<title>coldfusion/7/htmldocs/00000217.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#40225</link>
		<description>A follow up to my last post, if you enable client management, and then somehow delete the #client.hitCount# variable (for example by doing #structDelete( client )#) then the client data will fail to persist whenever changes are made!&lt;br /&gt;&lt;br /&gt;This error wont through an exception, it wont log the error, it will simply append a snippet of html to the output with &quot;500 null&quot;&lt;br /&gt;&lt;br /&gt;Any other built in client variable can be removed except for HitCount, so be careful.</description>
		<dc:creator>yoinky</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-09-30T01:04:49</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#40086">
		<title>coldfusion/7/htmldocs/00000217.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#40086</link>
		<description>HUGE Pain-In-The-Ass Solution:&lt;br /&gt;&lt;br /&gt;DO NOT USE HYPHEN CHARACTERS IN THE NAME=&quot;&quot; ATTRIBUTE!&lt;br /&gt;&lt;br /&gt;Just incase you are pulling your hair out wondering why your client management isn't working (like I've been doing for the past week) and have gone through everything and can't get it working on a database or in the registry, head this very simple &quot;rule&quot; left out of the documentation.&lt;br /&gt;&lt;br /&gt;if you do use a hyphen, at the end of the request when the client scope is supposed to be automatically persisted by the runtime, it will display a &quot;500 NULL&quot; error in html at the bottom of the page, it won't even throw a real exception or log the error, so you have no idea it happened.</description>
		<dc:creator>yoinky</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-09-28T02:03:13</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#36799">
		<title>coldfusion/7/htmldocs/00000217.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#36799</link>
		<description>You should note that (in CF7 at least) the name attribute is case sensitive.</description>
		<dc:creator>Robin Hilliard</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-07-07T01:04:15</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#33492">
		<title>coldfusion/7/htmldocs/00000217.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000217.htm#33492</link>
		<description>FYI - scriptprotect does not filter out all possible XSS attacks&lt;br /&gt;&quot; The scriptprotect attribute is meant to supplement to best-coding practices;&lt;br /&gt;it provides an easy way to filter out certain tag names, but is not meant to&lt;br /&gt;be a comprehensive solution against XSS attempts.&quot;</description>
		<dc:creator>pete_freitag</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-05-17T09:55:01</dc:date>
	</item>
	</rdf:RDF>

