How to set httpOnly flag on cookies?

Created on 31 October 2023, 8 months ago
Updated 2 November 2023, 8 months ago

I am unable to set the httpOnly flag, is there an option I am missing?
Or is this something achieved through another configuration?
Thanks

๐Ÿ’ฌ Support request
Status

Needs review

Version

2.0

Component

Documentation

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain UriDrupal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @UriDrupal
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia chetan 11

    chetan 11 โ†’ made their first commit to this issueโ€™s fork.

  • Open on Drupal.org โ†’
    Core: 7.x + Environment: PHP 7.4 & MySQL 5.7
    last update 8 months ago
    Not currently mergeable.
  • @chetan-11 opened merge request.
  • Status changed to Needs review 8 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia chetan 11

    HI
    I have tried to implement the httpOnly flag on cookies, please check my given code solution.
    Thanks

  • ๐Ÿ‡ช๐Ÿ‡ธSpain UriDrupal

    Thanks for the patch chetan11. I wasn't able to install the patch since it seems to be directed to the Branch 7x and we're using right now the version 2.0.1, could you re roll the patch?
    I tried manually installing the changes, but nothing seems to change.

Production build 0.69.0 2024