SproutCMS

This is the code documentation for the SproutCMS project

interface SessionDriver

Session driver interface

Implemented by

public regenerate

string regenerate ( );

Regenerates the session id.

public gc

boolean gc ( integer $maxlifetime );

Garbage collection.

public open

boolean open ( string $path , string $name );

Opens a session.

public close

boolean close ( );

Closes a session.

public read

string read ( string $id );

Reads a session.

public write

boolean write ( string $id , string $data );

Writes a session.

public destroy

boolean destroy ( string $id );

Destroys a session.