tracker issue : CF-4198226

select a category, or use search below
(searches all categories and all time range)
Title:

Cookie is no longer expired when no value attribute is used in IE

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Toby Weston / Toby Weston ()

Created: 01/03/2017

Components: Language, Cookie

Versions: 11.0

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: CF11 Update 11 /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Windows 10

Vote Count: 0

Problem Description:

Since installing update 11 the following no longer works in Internet Explorer:

<cfcookie name="nomnom" expires="now">

It either just clears the existing cookie leaving it there with no value and available in the cookie struct or creates a blank one if it didnt exist before.

Works fine in Chrome and Firefox

If you use the value attribute the cookie is correctly expired.

i.e. <cfcookie name="nomnom" expires="now" value="0">

Steps to Reproduce:

<cfcookie name="nomnom" expires="now">

Run page in Internet Explorer. 

Check dev tools > cookies to see empty cookie still exists

Actual Result:

Blank cookie exists / created

Expected Result:

Cookie correctly expires and disappears.

Any Workarounds:

Using the value attribute seems to get around this.

Attachments:

Comments:

Hi Adobe, This ticket's status/reason is: Closed/Duplicate. But there is no duplicate ID. What is the duplicate ID? Thanks!, -Aaron
Comment by Aaron N.
1386 | July 10, 2017 12:30:05 AM GMT
Duplicate ID - CF-4197174
Comment by Vamseekrishna N.
1387 | July 10, 2017 03:41:41 AM GMT