SessionHandlerInterface::destroy

(PHP 5 >= 5.4.0, PHP 7)

SessionHandlerInterface::destroyDestroy a session

설명

abstract public bool SessionHandlerInterface::destroy ( string $session_id )

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

인수

session_id

The session ID being destroyed.

반환값

반환 값(보통 성공 시 TRUE, 실패 시 FALSE). 이 값은 처리를 위해 내부적으로 PHP로 반환되는 점에 주의하십시오.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top