“secure” parameter in session_set_cookie_params
问题 I am interested in learning more about the secure parameter of the function session_set_cookie_params(). Can you tell me how to utilize this properly? If this function is executed on a page that is not secure (but on a server that does have SSL), will it somehow send it securely or do I have to force SSL on the page this function is executed from on my own? 回答1: It means that the client will only send that cookie through a secure (HTTPS) connection. This means you'll have to forward the user