SessionHandlerInterface::open

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

SessionHandlerInterface::openInitialize session

Descrizione

public SessionHandlerInterface::open(string $path, string $name): bool

Re-initialize existing session, or creates a new one. Called when a session starts or when session_start() is invoked.

Elenco dei parametri

path

The path where to store/retrieve the session.

name

The session name.

Valori restituiti

Il valore di ritorno (normalmente true in caso di successo, altrimenti false). Si noti che questo valore è restituito internamente a PHP per il processamento.

Vedere anche: