<?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 - 6 - Developing_ColdFusion_MX_Applications_with_CFML - sharedVars5.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-25T12:53:43</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#37756" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#18882" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#16801" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#3944" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#3943" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#2842" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#913" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#909" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#908" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#736" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#642" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#473" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#37756">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#37756</link>
		<description>To set session vars based on a button press, one way to do it would be to submit a form with the action = 'AnotherPage.cfm' on the button press.  On the AnotherPage.cfm, set the session variable.  If you want to return to the calling page after setting the session variable, CFInclude the calling page in the AnotherPage.cfm just after setting the session variable.  Check for the session variable setting in the original program (which is now an include to AnotherPage.cfm).  If if set, run the code that you want to execute after the session var is set.   Otherwise, start at the beginning.&lt;br /&gt;&lt;br /&gt;I hope that wasn't too confusing :-)&lt;br /&gt;&lt;br /&gt;crennyw</description>
		<dc:creator>WCrens01</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-07-21T11:05:20</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#18882">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#18882</link>
		<description>How do I save session data in response to a user button press?  A number of books show using the href tag and sending the data as part of the url. I want to avoid sending data via the url, how do I update the session data based on the button and its associated values? Dee</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-07-22T05:01:31</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#16801">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#16801</link>
		<description>A programming researcher has determined that Session variables do not have to be locked!  I have experimented with this exhaustively, and can also say that I can't find why they have to be locked.  I only use J2EE Session Management because sessional and Session Variables are deleted upon browser close.  Change default values on server so variable life does not exceed 1 hour.  If you need longer life, set it in your code on an as-needed basis.</description>
		<dc:creator>Kris DeLaney</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-06-14T16:32:59</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#3944">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#3944</link>
		<description>Here are the two answers I know of:&lt;br&gt;1) Enable J2EE sessions write a Java listener that responds the session timeouts/ends. Here's how to do it in JRun: http://livedocs.macromedia.com/jrun/4/Programmers_Guide/servletlifecycleevents4.htm#1115816&lt;br&gt;2) Post your question to the online forums: http://webforums.macromedia.com/coldfusion/ I'm sure you're not the first person who has wanted to do this, and maybe someone else has a solution.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2003-11-19T08:42:47</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#3943">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#3943</link>
		<description>Does someone know how to manage the &quot;on session end&quot; event in coldfusion? &lt;br /&gt;&lt;br /&gt;Any suggestions on how to perform certain actions when a session ends. (&quot;naturally&quot; ends, of course)</description>
		<dc:creator>epicito</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-11-19T08:34:53</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#2842">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#2842</link>
		<description>Can someone please help me this session end on browser close is frustrating.  I have J2EE variable enabled in the Coldfusion Administrator.  &lt;br /&gt;&lt;br /&gt;In Application.cfm&lt;br /&gt;&lt;br /&gt;&lt;CFAPPLICATION NAME=&quot;TEST&quot; SESSIONMANAGEMENT=&quot;YES&quot; SETCLIENTCOOKIES=&quot;NO&quot;&gt;&lt;br /&gt;&lt;br /&gt;In Test.cfm&lt;br /&gt;&lt;br /&gt;  &lt;CFLOCK SCOPE=&quot;SESSION&quot; TYPE=&quot;exclusive&quot; TIMEOUT=&quot;5&quot;&gt;&lt;br /&gt;    &lt;cfset SESSION.TEST.username = #form.username#&gt;&lt;br /&gt;    &lt;cfset SESSION.TEST.valid = #loginUserRet#&gt;&lt;br /&gt;  &lt;/CFLOCK&gt;&lt;br /&gt;&lt;br /&gt;  IF LOGOUT IS CLICKED &lt;br /&gt; &lt;cfset StructDelete(SESSION, &quot;TEST&quot;)&gt;&lt;br /&gt;&lt;br /&gt;If the browser is closed and the user comes back to test.cfm the session is where they left it.  I have tried numerous thing to kill the session after the browser is closed.  Below is the list&lt;br /&gt;&lt;br /&gt;Put the following in Application.cfm&lt;br /&gt;&lt;br /&gt;&lt;cfcookie name=&quot;CFID&quot; value=&quot;#Session.CFID#&quot;&gt; &lt;br /&gt;&lt;cfcookie name=&quot;CFTOKEN&quot; value=&quot;#Session.CFTOKEN#&quot;&gt; &lt;br /&gt;&lt;br /&gt;Also&lt;br /&gt;&lt;br /&gt;&lt;cfif IsDefined(&quot;Cookie.CFID&quot;) AND IsDefined(&quot;Cookie.CFTOKEN&quot;)&gt;&lt;br /&gt;  &lt;cfset cfid_local = Cookie.CFID&gt;&lt;br /&gt;  &lt;cfset cftoken_local = Cookie.CFTOKEN&gt;&lt;br /&gt;  &lt;cfcookie name=&quot;CFID&quot; value=&quot;#cfid_local#&quot;&gt;&lt;br /&gt;  &lt;cfcookie name=&quot;CFTOKEN&quot; value=&quot;#cftoken_local#&quot;&gt;&lt;br /&gt;&lt;/cfif&gt;&lt;br /&gt;&lt;br /&gt;None of this is working any suggestions please email me at&lt;br /&gt;&lt;br /&gt;christopher.williams@goodyear.com&lt;br /&gt;&lt;br /&gt;Thanks</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-10-16T15:26:46</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#913">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#913</link>
		<description>As mentioned, the document is inaccurate on the contents of Session.URL token. A correct description is below. To use sessions without cookies, use the URLSessionFormat function as described in the ?Using client and session variables without cookies? section of Chapter 15 of Developing ColdFusion MX Applications with CFML. (If the client browser does not support cookies, the URLSessionFormat function automatically generates CFID and CTOKEN values and adds them to the returned URL string.)&lt;br&gt;&lt;br&gt;------------------------&lt;br&gt;Here is a correct description:&lt;br&gt;&lt;br&gt;ColdFusion session management: A combination of the CFID and CFToken values in the form CFID=IDNum&amp;CFTOKEN=tokenNum. Use this variable if the client does not support cookies and you must pass the CFID and CFToken variables from page to page.&lt;br&gt;J2EE session management: A combination of the CFID and CFToken cookies and the J2EE session ID, in the form CFID=IDNum&amp;CFTOKEN=tokenNum&amp;jsessionid=SessionID. This is the only Session variable that includes CFID and CFToken values.</description>
		<dc:creator>hlichtin</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-05-28T11:23:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#909">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#909</link>
		<description>Article 23009 clarifies this issue - &lt;br&gt;&lt;br&gt;http://www.macromedia.com/v1/Handlers/index.cfm?ID=23009&amp;Method=Full</description>
		<dc:creator>pvagarwal</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-02-21T15:09:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#908">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#908</link>
		<description>The document says that once u enable J2EE session variables and check session.urltoken it will just give jsessionid, but i am getting both cfid, cftoken and the jsessionid... is this intentional... so if i have to maintain a session without cookies do i need to pass on all the variables above?</description>
		<dc:creator>pvagarwal</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-02-21T14:59:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#736">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#736</link>
		<description>Can somebody improve this documentation? How do you force expire J2ee sessions?&lt;br&gt;Joe Eugene</description>
		<dc:creator>bjoebox</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-10-18T14:15:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#642">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#642</link>
		<description>Selecting and enabling session variables in ColdFusion MS Administrator &lt;br&gt; |&lt;br&gt; V&lt;br&gt;Selecting and enabling session variables in ColdFusion MX Administrator &lt;br&gt;</description>
		<dc:creator>okugawa</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-08-22T08:58:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#473">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm#473</link>
		<description>forcing session expiration on browser close.&lt;br&gt;&lt;br&gt;use the following cookies to force sessions to expire a session @ browser close, instead of letting the cookies persist for the length of the session timeout.&lt;br&gt;&lt;cfcookie name=&quot;CFID&quot; value=&quot;#Session.CFID#&quot;&gt;&lt;br&gt;&lt;cfcookie name=&quot;CFTOKEN&quot; value=&quot;#Session.CFTOKEN#&quot;&gt;&lt;br&gt;&lt;br&gt;</description>
		<dc:creator>h2oman</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-06-27T17:30:00</dc:date>
	</item>
	</rdf:RDF>

