I'm making use of the angular-cookie library, found here. On this page it states the following:
To create a cookie use
ipCookie(key, value);
The value supports strings, numbers, booleans, arrays and objects and will be automatically serialized into the cookie.
I've created a few cookie without fail but when I attempt to create a rememberMe it fails to create - this cookies value is like this
var cookieContents = {};
cookieContents.tokenID = user.tokenId;
Were the user.tokenId is a string that is 4434 characters long. So my question is - does this fail to create just because the size of the token passed? If so would it be better to split the token into two, e.g. tokenIdPartOne and tokenIdPartTwo (bad names I know)
Thoughts?
Thanks