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