salut tout le monde,
je suis entrain de tester un exemple d'authentification
j' ai comme message affiché
Fatal error: Cannot redeclare class SessionHandlerInterface in C:\wamp\www\testEnquete\app\cache\dev\classes.php on line 532merci de m'aider
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72 interface SessionHandlerInterface { /** * Open session. * * @see http://php.net/sessionhandlerinterface.open * * @param string $savePath Save path. * @param string $sessionName Session Name. * * @throws \RuntimeException If something goes wrong starting the session. * * @return boolean */ public function open($savePath, $sessionName); /** * Close session. * * @see http://php.net/sessionhandlerinterface.close * * @return boolean */ public function close(); /** * Read session. * * @param string $sessionId * * @see http://php.net/sessionhandlerinterface.read * * @throws \RuntimeException On fatal error but not "record not found". * * @return string String as stored in persistent storage or empty string in all other cases. */ public function read($sessionId); /** * Commit session to storage. * * @see http://php.net/sessionhandlerinterface.write * * @param string $sessionId Session ID. * @param string $data Session serialized data to save. * * @return boolean */ public function write($sessionId, $data); /** * Destroys this session. * * @see http://php.net/sessionhandlerinterface.destroy * * @param string $sessionId Session ID. * * @throws \RuntimeException On fatal error. * * @return boolean */ public function destroy($sessionId); /** * Garbage collection for storage. * * @see http://php.net/sessionhandlerinterface.gc * * @param integer $lifetime Max lifetime in seconds to keep sessions stored. * * @throws \RuntimeException On fatal error. * * @return boolean */ public function gc($lifetime); } }
Partager