Home
last modified time | relevance | path

Searched refs:session_name (Results 1 – 25 of 30) sorted by relevance

12

/php-src/ext/session/tests/
H A Dsession_name_variation1.phpt2 Test session_name() function : variation
16 echo "*** Testing session_name() : variation ***\n";
18 var_dump(session_name("\t"));
20 var_dump(session_name());
22 var_dump(session_name());
24 var_dump(session_name(""));
26 var_dump(session_name());
28 var_dump(session_name());
34 *** Testing session_name() : variation ***
43 Warning: session_name(): session.name "" cannot be numeric or empty in %s on line %d
H A Dsession_name_variation2.phpt2 Test session_name() function : variation
14 echo "*** Testing session_name() : variation ***\n";
16 var_dump(session_name());
17 var_dump(session_name("blah"));
19 var_dump(session_name());
21 var_dump(session_name());
27 *** Testing session_name() : variation ***
H A Dsession_name_basic.phpt2 Test session_name() function : error functionality
16 echo "*** Testing session_name() : error functionality ***\n";
18 var_dump(session_name());
19 var_dump(session_name("blah"));
21 var_dump(session_name());
23 var_dump(session_name());
29 *** Testing session_name() : error functionality ***
H A Dsession_name_variation_null_byte.phpt2 Test session_name() function : null byte in session name
11 var_dump(session_name("AB\0CD"));
20 session_name(): Argument #1 ($name) must not contain any null bytes
H A Dbug66481.phpt2 Bug #66481: Calls to session_name() segfault when session.name is null.
14 var_dump(session_name("foo"));
15 var_dump(session_name("bar"));
H A Dbug80774.phpt2 Bug #80774 (session_name() problem with backslash)
7 session_name("foo\\bar");
H A Dbug74514.phpt21 var_dump(session_name('foo'));
22 var_dump(session_name());
H A Dbug66827.phpt9 $_COOKIE[session_name()] = array();
H A Dgh9200.phpt10 session_name("foo");
H A Dsession_module_name_variation2.phpt15 public function open($save_path, $session_name): bool { return false; }
H A Dsession_module_name_variation3.phpt19 public function open($save_path, $session_name): bool {
/php-src/ext/session/
H A Dmod_user_class.c40 char *save_path = NULL, *session_name = NULL; in PHP_METHOD() local
44 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &save_path, &save_path_len, &session_name, &sessi… in PHP_METHOD()
51 ret = PS(default_mod)->s_open(&PS(mod_data), save_path, session_name); in PHP_METHOD()
H A Dsession.c1394 spprintf(&session_cookie, 0, "Set-Cookie: %s=", PS(session_name)); in php_session_remove_cookie()
1443 smart_str_appendl(&ncookie, PS(session_name), strlen(PS(session_name))); in php_session_send_cookie()
1569 smart_str_appends(&var, PS(session_name)); in php_session_reset_id()
1597 (ppid = zend_hash_str_find(Z_ARRVAL_P(data), PS(session_name), strlen(PS(session_name))))) { in php_session_reset_id()
1605 sname = zend_string_init(PS(session_name), strlen(PS(session_name)), 0); in php_session_reset_id()
1608 …php_url_scanner_add_session_var(PS(session_name), strlen(PS(session_name)), ZSTR_VAL(PS(id)), ZSTR… in php_session_reset_id()
1655 lensess = strlen(PS(session_name)); in php_session_start()
1969 PHP_FUNCTION(session_name) in PHP_FUNCTION() argument
1988 RETVAL_STRING(PS(session_name)); in PHP_FUNCTION()
2947 ps_globals->session_name = NULL; in PHP_GINIT_FUNCTION()
[all …]
/php-src/ext/session/tests/user_session_module/
H A Dbasic_set_save_handler_test.phpt18 function open($save_path, $session_name): bool
20 print "OPEN: $session_name\n";
H A Dbug61728.phpt12 function open ($save_path, $session_name): bool {
H A Dbug60634.phpt15 function open($save_path, $session_name): bool {
H A Dbasic_set_save_handler_test02.phpt18 function open($save_path, $session_name): bool
20 print "OPEN: $session_name\n";
H A Dsave_handler.inc23 function open($save_path, $session_name) {
25 // string $session_name - Session ID cookie name. Default: session.name
29 $name = $session_name;
30 echo "Open [{$session_save_path},{$session_name}]\n";
H A Dbug79091.phpt24 public function open($save_path, $session_name): bool
H A Dbug60634_error_5.phpt15 function open($save_path, $session_name): bool {
H A Dsession_set_save_handler_error2.phpt15 function open($save_path, $session_name): bool { return true; }
H A Dsession_set_save_handler_error3.phpt15 function open($save_path, $session_name) {
H A Dbug60634_error_2.phpt15 function open($save_path, $session_name): bool {
H A Dbug60634_error_1.phpt15 function open($save_path, $session_name): bool {
H A Dbug60634_error_4.phpt14 function open($save_path, $session_name) {

Completed in 29 milliseconds

12