- Joined
- Jun 12, 2012
- Messages
- 11
- Reaction score
- 0
- Points
- 1
- Location
- Lancaster, England
Hi
I am trying to store some user preferences for a website in a cookie. The amount of info I want to store exceeds what is allowed in one cookie (even after compression). So I split the info over two cookies.
IE, FF and Chrome are happy enough, but Safari appears to NOT be setting the second cookie when the size of the info exceeds the limit for one cookie.
Confused? So was I. I did tests. The info in the first cookie works fine. The second cookie contains about seven lines. I commented out various lines looking for rogue data. Eventually I found that with ANY two of the lines of the data 'live' (and the others commented out) the cookie would be set, but when I added any third line - the cookie would not set.
Has this happened to any one else?
I could reduce the amount of data stored, but that will require queries in a PHP forum!
Dave
I am trying to store some user preferences for a website in a cookie. The amount of info I want to store exceeds what is allowed in one cookie (even after compression). So I split the info over two cookies.
IE, FF and Chrome are happy enough, but Safari appears to NOT be setting the second cookie when the size of the info exceeds the limit for one cookie.
Confused? So was I. I did tests. The info in the first cookie works fine. The second cookie contains about seven lines. I commented out various lines looking for rogue data. Eventually I found that with ANY two of the lines of the data 'live' (and the others commented out) the cookie would be set, but when I added any third line - the cookie would not set.
Has this happened to any one else?
I could reduce the amount of data stored, but that will require queries in a PHP forum!
Dave