think\Session::pause PHP Method

pause() public static method

暂停session
public static pause ( ) : void
return void
    public static function pause()
    {
        // 暂停session
        session_write_close();
        self::$init = false;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @covers think\Session::pause
  *
  * @todo Implement testPause().
  */
 public function testPause()
 {
     \think\Session::pause();
 }
All Usage Examples Of think\Session::pause