name = value
The name of a cookie is a string of (almost) any characters designating the cookie's name. When naming your cookies, you need to take some things into consideration. The use of semicolons, commas, or white space is not allowed. When naming cookies, use alphanumeric (A-Z, a-z, 0-9) characters and possibly the underscore (_) character for the sake of readability. There are almost no reserved words or variable name limits when assigning cookie names. "Fred", "All_Your_Base", and "Ali92" would all be valid cookie names. The exceptions are "expires", "domain", "path", and "secure", each of which defines a particular argument for the cookie.
The value of a cookie is also a string of any characters without semicolons, commas, or white space, designating the value of the cookie. The name and value strings together can be no more than 4KB per cookie. You cannot set the value of a cookie to undefined or null, but you can set it to "","rock", "hello%20world", and "" are all valid cookie values.
Main Topics
Browse All Topics





by: extpctweakerPosted on 2009-08-20 at 18:17:03ID: 25148407
I think that the following values are accepted :-
CIImap/
0 - 9 ASCII 48-57
A-Z ASCII 65 - 90
a-z ASCII 97-112
Here;s the full ASCII chart :-
http://www.danshort.com/AS
Cheers ;)