Business Studies, asked by pradeepvisvanat330, 1 year ago

What is setcookie () function ?

Answers

Answered by Anonymous
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 Agastya0606
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