Home
last modified time | relevance | path

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

/PHP-7.4/ext/session/tests/
H A Dsession_get_cookie_params_variation1.phpt55 ["samesite"]=>
69 ["samesite"]=>
83 ["samesite"]=>
97 ["samesite"]=>
111 ["samesite"]=>
125 ["samesite"]=>
139 ["samesite"]=>
H A Dsession_get_cookie_params_basic.phpt36 "samesite" => "please"]));
55 ["samesite"]=>
70 ["samesite"]=>
85 ["samesite"]=>
100 ["samesite"]=>
H A Dsession_set_cookie_params_variation6.phpt21 var_dump(session_set_cookie_params(["samesite" => "nothing"]));
25 var_dump(session_set_cookie_params(["samesite" => "test"]));
29 var_dump(session_set_cookie_params(["samesite" => "other"]));
H A Dsession_set_cookie_params_variation7.phpt31 var_dump(session_set_cookie_params(["secure" => true, "samesite" => "please"]));
/PHP-7.4/ext/standard/
H A Dhead.c176 if (samesite && ZSTR_LEN(samesite)) { in php_setcookie()
178 smart_str_append(&buf, samesite); in php_setcookie()
212 *samesite = zval_get_string(value); in php_head_parse_cookie_options_array()
234 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
262 if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, 1) == SUCCESS) { in PHP_FUNCTION()
276 if (samesite) { in PHP_FUNCTION()
277 zend_string_release(samesite); in PHP_FUNCTION()
289 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
317 if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, 0) == SUCCESS) { in PHP_FUNCTION()
331 if (samesite) { in PHP_FUNCTION()
[all …]
H A Dhead.h40 …tring *path, zend_string *domain, int secure, int httponly, zend_string *samesite, int url_encode);
/PHP-7.4/ext/standard/tests/network/
H A Dsetcookie.phpt21 …'/path/', 'domain' => 'domain.tld', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
/PHP-7.4/ext/session/
H A Dsession.c1675 zend_string *lifetime = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
1739 samesite = zval_get_string(value); in PHP_FUNCTION()
1807 if (samesite) { in PHP_FUNCTION()
1809 result = zend_alter_ini_entry(ini_name, samesite, PHP_INI_USER, PHP_INI_STAGE_RUNTIME); in PHP_FUNCTION()
1824 if (samesite) zend_string_release(samesite); in PHP_FUNCTION()

Completed in 23 milliseconds