Home
last modified time | relevance | path

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

/PHP-7.3/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.3/ext/standard/
H A Dhead.c180 if (samesite && ZSTR_LEN(samesite)) { in php_setcookie()
182 smart_str_append(&buf, samesite); in php_setcookie()
216 *samesite = zval_get_string(value); in php_head_parse_cookie_options_array()
238 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
265 if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, 1) == SUCCESS) { in PHP_FUNCTION()
278 if (samesite) { in PHP_FUNCTION()
279 zend_string_release(samesite); in PHP_FUNCTION()
291 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
318 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.3/ext/standard/tests/network/
H A Dsetcookie.phpt21 …'/path/', 'domain' => 'domain.tld', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
/PHP-7.3/
H A DUPGRADING.INTERNALS178 bb. php_setcookie() now expects an additional samesite argument, and the
182 int httponly, zend_string *samesite, int url_encode);
H A DUPGRADING374 "lifetime", "path", "domain", "secure", "httponly" and "samesite".
376 element with the key "samesite".
386 "expires", "path", "domain", "secure", "httponly" and "samesite".
/PHP-7.3/ext/session/
H A Dsession.c1673 zend_string *lifetime = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
1737 samesite = zval_get_string(value); in PHP_FUNCTION()
1802 if (samesite) { in PHP_FUNCTION()
1804 result = zend_alter_ini_entry(ini_name, samesite, PHP_INI_USER, PHP_INI_STAGE_RUNTIME); in PHP_FUNCTION()
1806 zend_string_release(samesite); in PHP_FUNCTION()

Completed in 28 milliseconds