CFLib.org – Common Function Library Project

isCookiesEnabled()

Last updated March 13, 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"));
}
blog comments powered by Disqus

Search CFLib.org


Latest Additions

Kevin Cotton added
date2ExcelDate
May 5, 2016

Raymond Camden added
CapFirst
April 25, 2016

Chris Wigginton added
loremIpsum
January 18, 2016

Gary Stanton added
calculateArrival...
November 19, 2015

Sebastiaan Naafs - van Dijk added
getDaysInQuarter
November 13, 2015

Created by Raymond Camden / Design by Justin Johnson