FCW Insider

Blog archive

The no-cookie diet

I got a note from somebody at an agency that has had some cookie problems telling me that getting permanent cookies is not as easy as it would seem.

So I'm passing along this person's experience in case it might be helpful to others out there:

[Removing the cookies from the Web sites] was frustrating to figure it out.

If you are interested in why so many government agencies have probably struggled with this, my somewhat dated version of cold fusion version (MX 6.1) doesn't have an option to use session cookies (it assumes you want permanent ones). To use session cookies, you have to tell cold fusion to stop using cookies altogether and then manually send two cookies within your code that assign cold fusion session variables to the cookie values. This is not obvious and isn't documented within my 2003 copy of the O'Reilly Cold Fusion MX 6.1 manual. Macromedia did not make this easy. I hope the newest version of Cold Fusion improved on this.

Posted by Christopher Dorobek on Apr 13, 2006 at 12:15 PM


Featured

  • Cybersecurity

    DHS floats 'collective defense' model for cybersecurity

    Homeland Security Secretary Kirstjen Nielsen wants her department to have a more direct role in defending the private sector and critical infrastructure entities from cyberthreats.

  • Defense
    Defense Secretary James Mattis testifies at an April 12 hearing of the House Armed Services Committee.

    Mattis: Cloud deal not tailored for Amazon

    On Capitol Hill, Defense Secretary Jim Mattis sought to quell "rumors" that the Pentagon's planned single-award cloud acquisition was designed with Amazon Web Services in mind.

  • Census
    shutterstock image

    2020 Census to include citizenship question

    The Department of Commerce is breaking with recent practice and restoring a question about respondent citizenship last used in 1950, despite being urged not to by former Census directors and outside experts.

Stay Connected

FCW Update

Sign up for our newsletter.

I agree to this site's Privacy Policy.