Naming cookies - best practices

Emanuil Rusev picture Emanuil Rusev · Jan 19, 2010 · Viewed 24.5k times · Source

What should cookie names look like?

Should they be:

  • lower_case
  • CamelCase
  • Underscore_Camel_Case
  • UPPER_CASE

Or should they be something else?

Answer

Ignacio Vazquez-Abrams picture Ignacio Vazquez-Abrams · Jan 19, 2010

appname_meaningfulname