1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
6: * @package Nette\Http
7: */
8:
9:
10:
11: /**
12: * User session storage. @see http://php.net/session_set_save_handler
13: *
14: * @author David Grudl
15: * @package Nette\Http
16: */
17: interface ISessionStorage
18: {
19:
20: function open($savePath, $sessionName);
21:
22: function close();
23:
24: function read($id);
25:
26: function write($id, $data);
27:
28: function remove($id);
29:
30: function clean($maxlifetime);
31:
32: }
33: