mardi 26 avril 2016

setcookie() function in PHP

In php, I'm wondering how the setcookie() function can modify the client side cookie when I use a separated way between client and server to communicate(like only by ajax call and return json data). In this case, does a call to this function in server side automatically send back a new http header to client? otherwise how would the function call modify cookie data at client side?




Aucun commentaire:

Enregistrer un commentaire