By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,374 Members | 1,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,374 IT Pros & Developers. It's quick & easy.

more 20 coockie

P: n/a
i must develop an intranet web application and i don't wont session.

The cookie limit is 20 but i wont extend this is possible it ?
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
.oO(Hywel)
i must develop an intranet web application and i don't wont session.

The cookie limit is 20 but i wont extend this is possible it ?


What limit?

Micha
Jul 17 '05 #2

P: n/a
Hywel wrote:
i must develop an intranet web application and i don't wont session.

The cookie limit is 20 but i wont extend this is possible it ?


20 cookies per domain
300 cookies total
4kb per cookie

These are the minimums listed by the cookie specifications rfc2109 (old)
and rfc2965 (new), and browsers generally use them as upper limits. If
you exceed these limits, don't expect your site to work with most
browsers. The same specification(s) also state "Applications should use
as few and as small cookies as possible, and they should cope gracefully
with the loss of a cookie."

Personally I've never seen any need to use more than 3-4 cookies for any
given site. Store your cookies as serialized arrays and use
session-variables instead.

http://www.php.net/serialize
http://www.php.net/unserialize
http://www.php.net/session
Roy W. Andersen
--
ra at broadpark dot no / http://roy.netgoth.org/

"Hey! What kind of party is this? There's no booze
and only one hooker!" - Bender, Futurama
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.