Proposé : _COOKIE_PATH

**SPIP**

# Article proposé

L’article "**\_COOKIE\_PATH**
(https://www.spip.net/ecrire/?exec=article&id_article=6579)" est proposé
à la publication depuis le samedi 6 juin 2020.

* * *

## \_COOKIE\_PATH

samedi 6 juin 2020 , par [jack](.././?page=auteur&id_auteur=593&)

The constant `_COOKIE_PATH` is used to indicate the domain to be used for
all SPIP cookies, and in particular session cookies.
It is possible to customize this value in your file
`config/mes_options.php` (See the article dedicated to it
(https://www.spip.net/ecrire/?exec=article&id_article=4909)).

Example : `

define

(http://www.php.net/define)

(

'_COOKIE_PATH'

,

'mondomaine.org'

)

;

`

— Envoyé par SPIP (https://www.spip.net/)

rubon199.jpg