<?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.1 - htmldocs - tags-p74.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-26T06:45:29</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#36054" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#34351" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#25557" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#25265" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#24891" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#24458" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21763" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21679" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21677" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21430" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#20147" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#15099" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#15064" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#8305" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#8286" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#2146" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#2144" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#36054">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#36054</link>
		<description>Correct. I think the reason for this is that the code within cflogin only executes the first time. That is, once the user is logged in, ColdFusion doesn't go into the cflogin block.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2005-06-28T12:35:18</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#34351">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#34351</link>
		<description>It seems that GetAuthUser() and IsUserInRoles() work only outside &lt;cflogin&gt;...&lt;/cflogin&gt;. You can't use them right after &lt;cfloginuser&gt; before &lt;/cflogin&gt;. Is this correct?</description>
		<dc:creator>Soetji</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-06-02T11:40:58</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#25557">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#25557</link>
		<description>I was incorrect in saying that the password attribute must be a unique string. &lt;br&gt;The password and name attributes are used together to generate a unique ID. &lt;br&gt;Therefore, if all name attributes are unique, you can use a value such as the empty string as the cflogin password attribute.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-12-16T10:58:44</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#25265">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#25265</link>
		<description>halL said on Dec 2, 2004 at 1:54 PM :&lt;br /&gt; &lt;br /&gt;&quot;The ColdFusion uses the cfloginuser password attribute to generate a unique ID for the user. &lt;br /&gt;The password attribute value does not have to be the user's true password, but must be a string that is unique among all users.&quot;&lt;br /&gt; &lt;br /&gt;which contradicts the documentation for cflogin:&lt;br /&gt; &lt;br /&gt;&quot;A request that uses NTLM or Digest authentication. In this case, the username and password are hashed using a one-way algorithm in the Authorization header; ColdFusion gets the username from the web server and sets the cflogin.password value to the empty string.&quot;&lt;br /&gt; &lt;br /&gt;So how can an empty string password be unique among all users?</description>
		<dc:creator>-r-</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-10T19:11:22</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#24891">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#24891</link>
		<description>The ColdFusion uses the cfloginuser password attribute  to generate a unique ID for the user. &lt;br&gt;The password attribute value does not have to be the user's true password, but must be a string that is unique among all users.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-12-02T13:54:41</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#24458">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#24458</link>
		<description>what is the password attribute for ?!!&lt;br /&gt;&lt;br /&gt;I user the user name and password to validate the user by a database, If it was valid then I run cfloginuser tag to login the user. What does cfloginuser need the password for?</description>
		<dc:creator>cf_Amir</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-25T13:23:37</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21763">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21763</link>
		<description>What is the max length of the roles parameter? It seems to fails if there are too many roles...</description>
		<dc:creator>samihoda2</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-27T11:58:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21679">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21679</link>
		<description>sorry, both require the &lt;cflogin&gt; tag...</description>
		<dc:creator>-ian</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-23T13:43:02</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21677">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21677</link>
		<description>It should also be noted, the basics: &lt;br /&gt;1) getAuthUser() requires the cflogin.&lt;br /&gt;Calls: &lt;cflogin&gt;&lt;cfoutput&gt;#GetAuthUser()#&lt;/cfoutput&gt;&lt;br /&gt;&lt;br /&gt;2) Roles: Does not require &lt;cflogin&gt;. (Below is just a summary of Space sensitive already mentioned).  Different roles are seporated by commas, but should not have spaces after the commas; otherwise, the space is required for testing it, for the space is included in that role name. &lt;br /&gt;Calls: &lt;cfif IsUserInRole(&quot;[role,role...]&quot;)&gt; or &lt;cffunction name=&quot;ex&quot; roles=&quot;[role,role...]&quot;&gt;&lt;br /&gt;Ex: &lt;cfif IsUserInRole(&quot;admin,webdept&quot;)&gt;do something...&lt;/cfif&gt; &lt;br /&gt;&lt;br /&gt;?- My question is if by default its in the session scope should calls to be it use the cflock (Readonly for verification tests, and Exclusive for setting)?</description>
		<dc:creator>-ian</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-23T12:49:56</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21430">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#21430</link>
		<description>Its worth mentioning that when checking for multiple roles,&lt;br /&gt;isUserInRole checks for role1 AND role2 AND role3 etc, not OR</description>
		<dc:creator>DSole</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-16T23:35:23</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#20147">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#20147</link>
		<description>I can use the getAuthUser() and IsUserInRole(roles) to get the username and to check whether the user is a member of a particular role.&lt;br /&gt;&lt;br /&gt;But.. I need to get the entire list of roles that a logged in user is a member of. There ought to have been a function called getAuthUserRoles() for this, but there isn't. The list of roles is stored in server memory - how can I retrieve that list??</description>
		<dc:creator>ViLi</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-08-16T10:10:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#15099">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#15099</link>
		<description>Yes, you can use cfloginuser outside of cflogin, but it it only applies for the life of the request: See http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/appsec11.htm#wp1139097 for more information&lt;br&gt;&lt;br&gt;You can use cookie scope or session scope to maintain login information. See http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/appsec10.htm for more information.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2004-05-20T05:46:44</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#15064">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#15064</link>
		<description>can &lt;cfloginuser&gt; be used outside of &lt;cflogin&gt; block?&lt;br /&gt;&lt;br /&gt;If browser does not enable memory-only cookie, &lt;cflogin&gt; get work or not? (before and after mx6.1)?</description>
		<dc:creator>toniu27</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-19T20:47:20</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#8305">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#8305</link>
		<description>The example is on the cflogin page. &lt;br&gt;To see it, click the left-arrow at the top or bottom of the page, or the text link near the bottom of the text on this page.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-02-18T06:52:13</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#8286">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#8286</link>
		<description>Where is the example? It should be great to have some example, particularly cause this is a new tag...</description>
		<dc:creator>fstrevisan</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-02-17T16:30:25</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#2146">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#2146</link>
		<description>You are correct. It should say cflogout.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2003-09-26T05:37:54</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#2144">
		<title>coldfusion/6.1/htmldocs/tags-p74.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p74.htm#2144</link>
		<description>&quot;the login remains in effect until the session expires or the user is logged out by the cflogin tag&quot;&lt;br /&gt;&lt;br /&gt;I am confused how the user is logged out by the cflogin tag? is it supposed to be the cflogout tag?</description>
		<dc:creator>andremoh</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-09-26T02:27:14</dc:date>
	</item>
	</rdf:RDF>

