We have moved to Github. Please open tickets there.

Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#4560 closed Enhancement (fixed)

Better cookie customization support

Reported by: ewinslow Owned by: ewinslow
Priority: high Milestone: Elgg 1.9.0
Component: Core Version: 1.8.3
Severity: minor Keywords:
Cc: brett@… Difficulty: moderate

Description

I want to be able to customize the fields when cookies are created. E.g. to customize the domain or set the secure/http-only bits.

Change History (4)

comment:1 Changed 12 months ago by ewinslow

  • Owner set to ewinslow
  • Status changed from new to assigned

comment:2 Changed 11 months ago by Evan Winslow

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixes #4560: Adds init:cookie,name event before calls to setcookie

Changeset: 9f3bd04e1330c657411c65677909b6ab72083a01

comment:3 Changed 11 months ago by Evan Winslow

Refs #4560: expires => expire to match setcookie

It is impossible to set all cookies to secure with plugins because of
how early session_start is called (during boot). Users will need to
configure their settings file appropriately, so I have added some
documentation in there on how to do that.

Changeset: 89eb4bdc0c46d339893333f737a742053a8698ee

comment:4 Changed 11 months ago by Cash Costello

Refs #4560 fixes expire bugs, adds more comments, adds ability to prevent cookie from being sent

Changeset: 969763261d9b85352daaad5028c539b90e2d2872

Note: See TracTickets for help on using tickets.