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: */
7:
8: namespace Nette\Http;
9:
10: use Nette;
11:
12:
13: /**
14: * User session storage. @see http://php.net/session_set_save_handler
15: *
16: * @author David Grudl
17: */
18: interface ISessionStorage
19: {
20:
21: function open($savePath, $sessionName);
22:
23: function close();
24:
25: function read($id);
26:
27: function write($id, $data);
28:
29: function remove($id);
30:
31: function clean($maxlifetime);
32:
33: }
34: