$_SESSION

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

$_SESSIONSession variables

Descrizione

An associative array containing session variables available to the current script. See the Session functions documentation for more information on how this is used.

Note

Nota:

Questa è una variabile 'superglobale', o automaticamente global. Ciò semplicemente significa che è visibile in tutti gli ambiti in uno script. Non è necessario dichiararla come global $variable; per accedervi da funzioni o metodi.

Vedere anche: