CFLib.org – Common Function Library Project

isCookiesEnabled()

Last updated March 14, 2009

author

Alex Baban

Version: 1 | Requires: CF6 | Library: UtilityLib

Description:
Returns true if browser cookies are enabled. Requires Session or Client scope enabled.

Return Values:
Returns a boolean.

Example:

<cfoutput>#IsCookiesEnabled()#</cfoutput>

Parameters:

No arguments.

Full UDF Source:

/**
 * Returns true if browser cookies are enabled.
 * 
 * @return Returns a boolean. 
 * @author Alex Baban (alexbaban@gmail.com) 
 * @version 1, March 13, 2009 
 */
function isCookiesEnabled() {
    return IsBoolean(URLSessionFormat("True"));
}

Search CFLib.org


Latest Additions

Raymond Camden added
QueryDeleteRows
November 04, 2017

Leigh added
nullPad
May 11, 2016

Raymond Camden added
stripHTML
May 10, 2016

Kevin Cotton added
date2ExcelDate
May 05, 2016

Raymond Camden added
CapFirst
April 25, 2016

Created by Raymond Camden / Design by Justin Johnson