When we use php setcookie() function, where are they created on client’s computer?
When we use php setcookie() function, where are they created on client’s computer?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you use
setcookie(), an HTTP-header (Set-Cookie) is included, containing information about the cookie to be set, its expiration etc.Where that cookie itself is stored is upto the browser.
The browser then sends the cookie’s content, which it stored somewhere, with the
Cookie:header when appropriate, as described below.RFC6265 defines the HTTP Cookie and Set-Cookie header fields.