Andrew R Posted January 30, 2009 Share Posted January 30, 2009 Hi How much data can be stored in a php cookie? If there is a limit is it possible to increase it? Many thanks Link to comment https://forums.phpfreaks.com/topic/143107-how-much-data-can-be-stored-in-a-php-cookie/ Share on other sites More sharing options...
printf Posted January 30, 2009 Share Posted January 30, 2009 About 4096 bytes (4Kb), but don't rely on that always being the case across all browsers. Use a simple hash that references data stored in a file or database instead a filling up cookie. Link to comment https://forums.phpfreaks.com/topic/143107-how-much-data-can-be-stored-in-a-php-cookie/#findComment-750524 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.