S
SigmaCrisis
I'm not sure if this is the right newsgroup for this, but I was
wondering if someone out there has enough knowledge of the Cookie class
to suggest a way to keep more than one value stored in a single cookie.
For instance, everytime a user enters a new value, i would like to add
it to the value already stored in the cookie file. By 'add' I really
mean concatenate. However, I would also like to keep it organized so
that i can extract the values separately.
What I tried doing is having the values stored in a cookie, separated
by commas. However, as I read on the Java.API, "With Version 0 cookies,
values should not contain white space, brackets, parentheses, equals
signs, commas, double quotes, slashes, question marks, at signs,
colons, and semicolons. Empty values may not behave the same way on all
browsers." Has anyone come across this problem before? I even tried
using period (dots) to separate values, but it still gives the same
issue.
Thanks.
wondering if someone out there has enough knowledge of the Cookie class
to suggest a way to keep more than one value stored in a single cookie.
For instance, everytime a user enters a new value, i would like to add
it to the value already stored in the cookie file. By 'add' I really
mean concatenate. However, I would also like to keep it organized so
that i can extract the values separately.
What I tried doing is having the values stored in a cookie, separated
by commas. However, as I read on the Java.API, "With Version 0 cookies,
values should not contain white space, brackets, parentheses, equals
signs, commas, double quotes, slashes, question marks, at signs,
colons, and semicolons. Empty values may not behave the same way on all
browsers." Has anyone come across this problem before? I even tried
using period (dots) to separate values, but it still gives the same
issue.
Thanks.