Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

detecting if cookies turned off

does coldfusion have a function that detects if cookies have been turned off? or if not, is there another way to check this?
0
Judy Deo
Asked:
Judy Deo
  • 2
3 Solutions
 
mrichmonCommented:
you can easily check with javascript:

http://www.rgagnon.com/jsdetails/js-0092.html
0
 
mrichmonCommented:
Here's a article related to detecting cookies for cf pages :
http://www.advantex.net/NonFB/CFDJArticle1/ColdFusion%20Developer's%20Journal%2010.htm

(Note it also uses Javascript)
0
 
creativetimCommented:
You could also just create a cookie and then test to see if it exists with a IsDefined().
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now