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