Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mdmower

    (@mdmower)

    Err, that was a little misleading, you don’t actually “set” HttpOnly to false, but rather omitting the last boolean defaults it to false. So basically, it would be great if you could tack on another argument to setcookie for the set_httponly field:

    setcookie( 'wp_dlm_downloading', $download->id, time()+60, COOKIEPATH, COOKIE_DOMAIN, false, true );

    Thread Starter mdmower

    (@mdmower)

    Closing this comment thread. Instead, track pull request 206 to see whether this is implemented or not.

    Plugin Contributor Barry Kooij

    (@barrykooij)

    Thanks, will have a look at this soon!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HttpOnly cookie’ is closed to new replies.