编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SessionHandlerInterface::close
  • SessionHandlerInterface::gc »
  • PHP Manual
  • SessionHandlerInterface
  • Destroy a session

SessionHandlerInterface::destroy

(PHP 5 >= 5.4.0, PHP 7)

SessionHandlerInterface::destroy — Destroy a session

说明

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

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.

返回值

会话存储的返回值(通常成功返回 0,失败返回 1)。

相关文章
php yaf the yaf session classphp msession 函数 destroy a sessionphp session 函数 读取/设置缓存限制器php session 函数 session write close 的别名php session pgsql 函数 set custom field valuephp session pgsql 函数 get current save handler statusphp mnogosearch 函数 allocate mnogosearch sessionphp mysql xdevapi databaseobject get session namephp mysql xdevapi schema get schema sessionphp mysql xdevapi session kill the clientphp mysql xdevapi session get client listphp session pgsql session pgsql 函数php sessionhandler destroy a sessionphp sessionhandlerinterface close the sessionphp sessionhandlerinterface destroy a sessionphp sessionhandlerinterface initialize sessionphp sessionhandlerinterface read session dataphp sessionhandlerinterface write session dataphp stomp gets the current stomp session idphp yaf session the offsetset purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号