2
0

SessionHandlerInterface.hx 456 B

1234567891011121314
  1. package php;
  2. /**
  3. @see http://php.net/manual/en/class.sessionhandlerinterface.php
  4. **/
  5. @:native('SessionHandlerInterface')
  6. extern interface SessionHandlerInterface {
  7. function close() : Bool;
  8. function destroy( session_id:String ) : Bool;
  9. function gc( maxlifetime:Int ) : Bool;
  10. function open( save_path:String, session_name:String ) : Bool;
  11. function read( session_id:String ) : String;
  12. function write( session_id:String, session_data:String ) : Bool;
  13. }