You are here: Foswiki>Tasks Web>Item14301 (31 Jan 2018, GeorgeClark)Edit Attach

Item14301: Implement ConfigurableCookieNamesAndPaths

pencil
Priority: Enhancement
Current State: Waiting for Release
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component:
Branches: Item14301 master Item14288 Item14454 Item14380 Item14537
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
This implements 2 new settings

  • $Foswiki::cfg{Sessions}{CookieNamePrefix}=
  • $Foswiki::cfg{Sessions}{CookiePath}=

We need it somewhat urgently as you have to delete cookies to use trunk.foswiki.org.

-- GeorgeClark - 24 Jan 2017

I jumped the timers and merged this into master. trunk.foswiki.org is now peacefully coexisting with foswiki.org

-- GeorgeClark - 25 Jan 2017

The Strikeone cookie uses a different js mechanism for reading cookies. Got the cookie domain prefix added, but path is not supported yet.

-- GeorgeClark - 31 Jan 2017

MichaelDaum reported
Checking JQueryCookie hosted upstream at https://github.com/carhartl/jquery-cookie. This lib needs to be replaced by https://github.com/js-cookie/js-cookie. Not a task for this bug item. Just mentioning as I checked the code.

This is probably the place to do this and at the same time unify the cookie methods used by Twisty, Strikeone, UpdatesPlugin, etc.

-- GeorgeClark - 31 Jan 2017

Noticed an issue, strikeone cookie "FOSWIKISTRIKEONE" will be written as "Secure" when visited using https. But for a site that supports both, when switching back to http:, then strikeone no longer works. Need to use SFOSWIKISTRIKEONE like we do with SFOSWIKISID.

-- GeorgeClark - 22 Mar 2017

Changing this to Waiting for Release. Any further replacements of the jquery cookie implementation are deferred.

-- GeorgeClark - 05 Dec 2017
 
Topic revision: r13 - 31 Jan 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy