Naming cookies - best practices [closed]

What should cookie names look like?

Should they be:

  • lower_case
  • CamelCase
  • Underscore_Camel_Case
  • UPPER_CASE

Or should they be something else?


appname_meaningfulname


Keep in mind that this cookie is sent with every request, so imho, just use the smallest name you can, and document your code nicely.