What is setcookie () function ?
Answers
Answered by
0
Answer:
➡ The setcookie() function defines a cookie to be sent along with the rest of the HTTP headers. A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer.
Answered by
0
The setcookie() function sends a cookie along with the rest of the HTTP headers.
- The setcookie () function defines the cookie to be sent along with all other HTTP headers.
- A cookie is often used to identify a user. A cookie is a small file server embedded in a user's computer. Each time the same computer requests a page with a browser, it will send a cookie again. With PHP, you can create and return cookie values
- The cookie name is automatically assigned to the same name variant. For example, if a cookie is sent with the word "user", an exception is automatically created called $ user, which contains the cookie value.
Similar questions
Hindi,
6 months ago
Computer Science,
6 months ago
English,
6 months ago
History,
1 year ago
CBSE BOARD X,
1 year ago
Chemistry,
1 year ago