Is cookie limited?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
trigunmasteree
Forum Newbie
Posts: 4
Joined: Sat Aug 19, 2006 3:13 am

Is cookie limited?

Post by trigunmasteree »

Yo,

I've just made a page that load more than 20 cookie variables.
The problem is. Not all of those cookies variables can be echo-ed in browser.

I know this is rather simple (yeah, right, I'm a newbie after all) but each browser (in this case, I used three, Opera, IE and Firefox) gave different results. Firefox can load most of the cookies, but that's not what I expected.

I wonder if there were super global vars instead of cookies,post,get and session (well, post and get were out of question).

Anyone can help me?
donvliet
Forum Newbie
Posts: 7
Joined: Mon Aug 07, 2006 3:33 pm
Location: Luxembourg

Post by donvliet »

Have a look at the cookie specification at http://wp.netscape.com/newsref/std/cookie_spec.html, especially from "There are limitations on the number of cookies" on. You realize that your application is exceeding these limits.
An application that relies so heavily on cookies is in my opinion not well designed. You might want to think about storing user specific data in some place else, a database maybe. To give an more constructive answer, I would need to know more about the application
Post Reply