跳转到主要内容

destroy

SessionHandlerInterface::destroy

Destroy a session

ENTITY

public

bool

SessionHandlerInterface::destroy

string

id

Destroys a session. Called by session_regenerate_id (with $destroy = ENTITY), session_destroy and when session_decode fails.

ENTITY

id
The session ID being destroyed.

ENTITY

ENTITY