Skip to the content
Documentation

CookieHttponly

No ratings yet

Summary

This setting sets whether or not scripts are allowed to access cookies.

Usage

CookieHttponly=false | true

Description

This is an optional settings for the override php.ini session cookie settings. The setting CookieHttponly sets whether or not scripts are allowed to access cookies.

Possible values are true and false. When set to true the browser will not allow scripts to access cookies. However, this feature is only supported on php 5.2+

If this setting is undefined, the setting will be used as defined in the php.ini setting session.cookie_httponly. For more information on all other session related setting in php.ini please visit http://www.php.net/manual/en/session.configuration.php.

This setting is case sensitive.

This setting is available for Exponential 4.4 and above.

Examples

CookieHttponly=true

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.