With regards to security and convenience which cookies are better the PHP ones or the Javascript ones?
There is no such thing as a 'php' cookie or 'JavaScript' cookie.
A cookie is a cookie is a cookie. The import thing is what you store in it. So, what are you storing in them?