CFCOOKIE Bug in Railo

Found another minor bug in Railo today: CFCOOKIE doesn't accept a date passed to it's 'expires' attribute.  It happily accepts 'now', 'never', and a number of days, but not an actual date.  Submitted as JIRA-149.

3 responses to “CFCOOKIE Bug in Railo”

  1. Ben Nadel

    I don't know much about cookies outside of the CFCookie tag, so out of curiosity, do cookies really have an expiration date? Or is ColdFusion just taking that date and calculating the difference in days behind the scenes?

    Using a date is really useful, but I was just wondering if it is some sort of short-hand for getting the day-difference?

  2. Ben Nadel

    Ahh, gotcha. Thanks for the insight.