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

  • IT Modernization
    Eisenhower Executive Office Building (Image: Wikimedia Commons)

    OMB's user guide to the MGT Act

    The Office of Management and Budget is working on a rules-of-the-road document to cover how agencies can seek and use funds under the MGT Act.

  • global network (Pushish Images/Shutterstock.com)

    As others see us -- a few surprises

    A recent dinner with civil servants from Asia delivered some interesting insights, Steve Kelman writes.

  • FCW Perspectives
    cloud (Singkham/Shutterstock.com)

    A smarter approach to cloud

    Advances in cloud technology are shifting the focus toward choosing the right tool for the job and crafting solutions that truly modernize systems.

Stay Connected

FCW Update

Sign up for our newsletter.

I agree to this site's Privacy Policy.