Home
last modified time | relevance | path

Searched refs:session_id (Results 1 – 25 of 102) sorted by relevance

12345

/PHP-8.2/ext/session/tests/
H A Dsession_id_error3.phpt14 var_dump(session_id());
15 var_dump(session_id("!"));
16 var_dump(session_id());
20 var_dump(session_id());
22 var_dump(session_id());
26 var_dump(session_id());
28 var_dump(session_id());
32 var_dump(session_id());
34 var_dump(session_id());
38 var_dump(session_id());
[all …]
H A Dsession_commit_variation5.phpt17 var_dump(session_id($id));
19 var_dump(session_id());
20 var_dump($id === session_id());
22 var_dump($id === session_id());
23 var_dump(session_id());
25 var_dump($id === session_id());
26 var_dump(session_id());
28 var_dump($id === session_id());
29 var_dump(session_id());
32 var_dump(session_id());
[all …]
H A Dsession_id_basic.phpt2 Test session_id() function : basic functionality
12 echo "*** Testing session_id() : basic functionality ***\n";
14 var_dump(session_id());
15 var_dump(session_id("test"));
16 var_dump(session_id());
17 var_dump(session_id("1234567890"));
18 var_dump(session_id());
22 var_dump(session_id());
24 var_dump(session_id());
30 *** Testing session_id() : basic functionality ***
H A Dsession_id_error2.phpt2 Test session_id() function : error functionality
12 echo "*** Testing session_id() : error functionality ***\n";
14 var_dump(session_id("test"));
15 var_dump(session_id());
16 var_dump(session_id("1234567890"));
17 var_dump(session_id());
19 var_dump(session_id("1234567890"));
21 var_dump(session_id());
27 *** Testing session_id() : error functionality ***
34 Warning: session_id(): Session ID cannot be changed when a session is active in %s on line %d
H A Dsession_basic2.phpt24 $session_id = 'session-basic2';
25 session_id($session_id);
30 var_dump(session_id($session_id));
32 $session_id_new1 = session_id();
33 var_dump($session_id_new1 !== $session_id);
35 var_dump(session_id());
38 var_dump(session_id($session_id));
40 $session_id_new2 = session_id();
43 var_dump(session_id());
47 var_dump(session_id($session_id_new1));
[all …]
H A Dsession_basic1.phpt22 $session_id = 'session-basic1';
23 session_id($session_id);
28 var_dump(session_id($session_id));
33 var_dump(session_id());
36 var_dump(session_id($session_id));
39 var_dump(session_id());
42 var_dump(session_id($session_id));
H A Dsession_write_close_variation4.phpt16 var_dump(session_id("test"));
18 var_dump(session_id());
20 var_dump(session_id());
22 var_dump(session_id());
24 var_dump(session_id());
26 var_dump(session_id());
28 var_dump(session_id());
H A Dbug65475.phpt18 $session_id = session_id();
22 var_dump($session_id === session_id());
27 var_dump($session_id === session_id());
H A Dsession_abort_basic.phpt19 $session_id = session_id();
23 session_id($session_id);
29 session_id($session_id);
H A Dbug70133.phpt2 Bug #70133 (Extended SessionHandler::read is ignoring $session_id when calling parent)
16 public function read($session_id): string|false {
25 session_id('mycustomsession');
28 var_dump(session_id());
31 session_id('otherid');
34 var_dump(session_id());
H A Dsession_id_basic2.phpt2 Test session_id() function : basic functionality
12 echo "*** Testing session_id() : basic functionality ***\n";
17 var_dump(session_id());
24 var_dump(session_id());
30 *** Testing session_id() : basic functionality ***
H A Dsession_commit_variation4.phpt17 var_dump(session_id("session-commit-variation4"));
19 var_dump(session_id());
21 var_dump(session_id());
24 var_dump(session_id());
26 var_dump(session_id());
28 var_dump(session_id());
30 var_dump(session_id());
H A Dsession_create_id_basic.phpt24 var_dump(session_id($sid));
26 var_dump(session_id());
27 var_dump(session_id() === $sid);
33 var_dump(session_id($sid));
35 var_dump(session_id());
36 var_dump(session_id() === $sid);
H A Dsession_set_save_handler_variation5.phpt36 $session_id = session_id();
37 var_dump(session_id());
39 var_dump(session_id());
42 var_dump(session_id($session_id));
46 var_dump(session_id());
49 var_dump(session_id($session_id));
H A Dsession_destroy_variation3.phpt15 var_dump(session_id());
17 var_dump(session_id());
19 var_dump(session_id());
21 var_dump(session_id());
H A Dbug67694.phpt20 $id = session_id();
25 session_id($id);
30 $newid = session_id();
37 session_id($newid);
H A Dsession_reset_basic.phpt19 $session_id = session_id();
23 session_id($session_id);
H A Dsession_set_save_handler_class_001.phpt22 echo 'Open ', session_id(), "\n";
28 echo 'Old Create SID ', session_id(), "\n";
33 echo 'Read ', session_id(), "\n";
38 echo 'Write ', session_id(), "\n";
43 echo 'Close ', session_id(), "\n";
52 echo 'New Create ID ', session_id(), "\n";
57 echo 'Validate ID ', session_id(), "\n";
65 echo 'Update Timestamp ', session_id(), "\n";
78 var_dump(session_id(), $oldHandler, ini_get('session.save_handler'), $handler->i, $_SESSION);
H A Dbug71162.phpt59 session_id(sha1(''));
60 var_dump(session_id());
64 session_id(sha1(''));
65 var_dump(session_id());
69 session_id(sha1(''));
70 var_dump(session_id());
H A Dsession_set_save_handler_basic.phpt31 $session_id = session_id();
42 session_id($session_id);
50 session_id($session_id);
56 session_id($session_id);
H A Dsession_start_variation8.phpt14 var_dump(session_id());
16 var_dump(session_id());
18 var_dump(session_id());
H A Dsession_regenerate_id_basic.phpt14 var_dump(session_id());
16 var_dump(session_id());
19 var_dump(session_id());
22 var_dump(session_id());
H A Dsession_regenerate_id_variation1.phpt14 var_dump(session_id());
16 var_dump(session_id());
19 var_dump(session_id());
22 var_dump(session_id());
H A Dsession_start_variation9.phpt16 var_dump(session_id());
18 var_dump(session_id());
20 var_dump(session_id());
/PHP-8.2/tests/basic/
H A Dbug20539.phpt6 <?php if (file_exists(__DIR__. '/sess_' .session_id())) unlink(__DIR__. '/sess_' .session_id()); ?>
14 $filename = __DIR__ . '/sess_' . session_id();

Completed in 19 milliseconds

12345