Closed abernh closed 3 years ago
With the current Cookie::set() method the parameter "samesite" can not be set for a cookie.
Cookie::set()
Added additional parameter "samesite" and use the new setcookie(name, val, options) (since PHP7.3) method
setcookie(name, val, options)
Also renamed misspelled coockie helper reference in Lime\App: 'coockie' --> 'cookie'
coockie
Lime\App
'coockie' --> 'cookie'
Thanks!
@abernh how can I set secure flag for cookie?
Problem
With the current
Cookie::set()
method the parameter "samesite" can not be set for a cookie.Solution
Added additional parameter "samesite" and use the new
setcookie(name, val, options)
(since PHP7.3) methodNote
Also renamed misspelled
coockie
helper reference inLime\App
:'coockie' --> 'cookie'