munaa80
07-16-2002, 07:16 AM
what is the difference between php cookies and javascript cookies?:o
glenngv
07-16-2002, 07:49 AM
i don't know php but I think the only difference is just how the cookie is handled (read/set). In PHP, the cookie is set/read on the server-side, while in Javasript on the client-side. What you set in PHP can be retrieved in JS and vice-versa (of course they must be on the same domain to work).
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.