1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (http://nette.org)
5: *
6: * Copyright (c) 2004, 2011 David Grudl (http://davidgrudl.com)
7: *
8: * For the full copyright and license information, please view
9: * the file license.txt that was distributed with this source code.
10: * @package Nette\Web
11: */
12:
13:
14:
15: /**
16: * User session storage. @see http://php.net/session_set_save_handler
17: *
18: * @author David Grudl
19: */
20: interface ISessionStorage
21: {
22:
23: function open($savePath, $sessionName);
24:
25: function close();
26:
27: function read($id);
28:
29: function write($id, $data);
30:
31: function remove($id);
32:
33: function clean($maxlifetime);
34:
35: }
36: