Where should session cookies options go? in session_start or session_set_cookie_params?
The documentation at php.net is a bit unclear one these as they don't mention session_set_cookie_params. Are the cookie paramenters in php.int and session_set_ cookie_params overwritten by the ones in sessions_start? Can I combine all settings (cookie and otherwise) in one call to session_start?
EDIT: What is the point of session_set_cookie_params if these can be nuked by whatever is specified in session_start?
source https://stackoverflow.com/questions/77082011/use-session-set-cookie-params-or-session-start-options
No comments:
Post a Comment