[PHP] Re: How large string in cookie?

2005-09-09 Thread Dan Baker
Gustav Wiberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How large can a string be in a cookie? (the value-parameter) If you need (or want) a lot of data stored in cookies, I recommend doing the following: store a single cookie with a unique id (something like

Re: [PHP] Re: How large string in cookie?

2005-09-09 Thread Brent Baisley
I'm pretty sure the maximum size of a cookie is just under 4K. That would include variable names and their values. But if you are getting close to the 4k limit, you probably should rethink your setup. As DanB said, store the info on the server, either in a database or in a session. On