Getclientvariableslist - MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference

Cfml language reference
Table of Contents

Advertisement

356

GetClientVariablesList

Returns a comma-delimited list of non-readonly client variables available to a
template.
See also DeleteClientVariable.
Syntax
GetClientVariablesList()
Example
<!--- This view-only example shows GetClientVariablesList --->
<HTML>
<HEAD>
<TITLE>GetClientVariablesList Example</TITLE>
</HEAD>
<BODY>
<!--- this example is view only --->
<H3>GetClientVariablesList Example</H3>
<P>This view-only example deletes a client variable called
"User_ID", if it exists in the list of client variables
returned by GetClientVariablesList().
<P>This example requires the existance of an Application.cfm file
and that client management be in effect.
<!---
<CFSET client.somevar="">
<CFSET client.user_id="">
<P>Client variable list:<CFOUTPUT>#GetClientVariablesList()#</CFOUTPUT>
<CFIF ListFindNoCase(GetClientVariablesList(), "User_ID") is not 0>
<!--- delete that variable
<CFSET temp = DeleteClientVariable("User_ID")>
<P>Was variable "User_ID" Deleted? <CFOUTPUT>#temp#</CFOUTPUT>
</CFIF>
<P>Amended Client variable list:<CFOUTPUT>#GetClientVariablesList()#
</CFOUTPUT>
--->
</BODY>
</HTML>
CFML Language Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 4.5

Table of Contents