ZMSessionHandler
public interface ZMSessionHandler
| Method Summary | |
|---|---|
| void | close() Close session handling. |
| void | destroy(string id) Destroy session. |
| void | gc(int lifetime) Garbage collection callback. |
| void | open(string path, string name) Open session handling. |
| void | read(string id) Read session. |
| void | setExpiryTime(mixed expiryTime, int expiry) Set the expiry time. |
| void | write(string id, mixed data) Write session. |
public void close()
Close session handling.
public void destroy(string id)
Destroy session.
public void gc(int lifetime)
Garbage collection callback.
public void open(string path, string name)
Open session handling.
public void read(string id)
Read session.
public void setExpiryTime(mixed expiryTime, int expiry)
Set the expiry time.
public void write(string id, mixed data)
Write session.
Simple session handler interface.