Home
last modified time | relevance | path

Searched refs:samesite (Results 1 – 8 of 8) sorted by relevance

/php-src/ext/session/tests/
H A Dsession_get_cookie_params_variation1.phpt51 ["samesite"]=>
65 ["samesite"]=>
79 ["samesite"]=>
93 ["samesite"]=>
107 ["samesite"]=>
121 ["samesite"]=>
135 ["samesite"]=>
H A Dsession_get_cookie_params_basic.phpt32 "samesite" => "please"]));
51 ["samesite"]=>
66 ["samesite"]=>
81 ["samesite"]=>
96 ["samesite"]=>
H A Dsession_set_cookie_params_variation6.phpt17 var_dump(session_set_cookie_params(["samesite" => "nothing"]));
21 var_dump(session_set_cookie_params(["samesite" => "test"]));
25 var_dump(session_set_cookie_params(["samesite" => "other"]));
H A Dsession_set_cookie_params_variation7.phpt36 var_dump(session_set_cookie_params(["secure" => true, "samesite" => "please"]));
/php-src/ext/standard/
H A Dhead.c82 zend_string *samesite, bool url_encode) in php_setcookie() argument
181 if (samesite && ZSTR_LEN(samesite)) { in php_setcookie()
183 smart_str_append(&buf, samesite); in php_setcookie()
195 zend_string **domain, bool *secure, bool *httponly, zend_string **samesite) in php_head_parse_cookie_options_array() argument
216 *samesite = zval_get_string(value); in php_head_parse_cookie_options_array()
229 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local
251 &domain, &secure, &httponly, &samesite) in php_setcookie_common()
257 …if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, !is_raw) == SUCC… in php_setcookie_common()
271 if (samesite) { in php_setcookie_common()
272 zend_string_release(samesite); in php_setcookie_common()
H A Dhead.h33 zend_string *samesite, bool url_encode);
/php-src/ext/standard/tests/network/
H A Dsetcookie.phpt21 …'/path/', 'domain' => 'domain.tld', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
/php-src/ext/session/
H A Dsession.c1680 zend_string *lifetime = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
1754 samesite = zval_get_string(value); in PHP_FUNCTION()
1822 if (samesite) { in PHP_FUNCTION()
1824 result = zend_alter_ini_entry(ini_name, samesite, PHP_INI_USER, PHP_INI_STAGE_RUNTIME); in PHP_FUNCTION()
1839 if (samesite) zend_string_release(samesite); in PHP_FUNCTION()

Completed in 20 milliseconds