473,323 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

transient cookie size limit

Ana
I have written some code using transient cookies to send an edited
essay from one html page to another. Each paragraph of the essay is
saved in separate cookie. If the essay is 4 paragraphs long then I
write 4 different cookies.

This works on a Macantosh in Internet Explorer but for some reason on
a PC the cookies turn up empty. If I make the essay shorter then it
works on a PC, so it looks as if I am running up against the size
limitation on cookies? Is 4kb the limit of the total number of cookies
on a page? Do transient cookies have the same size limit as cookies
with an expiration date? I dont even think the essays are 4kb long.

Should I give up on cookies to move so much data and if so what
technology would you recommend I use? (No Database).

Any information or clues as to how to solve this problem would be
greatly appreciated.
Thanks,
AG
Jul 23 '05 #1
3 5084
Ana wrote:
I have written some code using transient cookies to send an edited
essay from one html page to another. Each paragraph of the essay is
saved in separate cookie. If the essay is 4 paragraphs long then I
write 4 different cookies.

This works on a Macantosh in Internet Explorer but for some reason on
a PC the cookies turn up empty. If I make the essay shorter then it
works on a PC, so it looks as if I am running up against the size
limitation on cookies? Is 4kb the limit of the total number of cookies
on a page? Do transient cookies have the same size limit as cookies
with an expiration date? I dont even think the essays are 4kb long.

Should I give up on cookies to move so much data and if so what
technology would you recommend I use? (No Database).

Any information or clues as to how to solve this problem would be
greatly appreciated.
Thanks,
AG


<url: http://www.w3.org/Protocols/rfc2109/rfc2109 /> (see also <url:
http://www.ietf.org/rfc/rfc2965.txt /> section 5.3)

6.3 Implementation Limits

....

* at least 300 cookies

* at least 4096 bytes per cookie (as measured by the size of the
characters that comprise the cookie non-terminal in the syntax description
of the Set-Cookie header)

* at least 20 cookies per unique host or domain name

User agents created for specific purposes or for limited-capacity devices
should provide at least 20 cookies of 4096 bytes, to ensure that the user
can interact with a session-based origin server.

<url: http://support.microsoft.com/default...b;EN-US;306070 />

Microsoft Internet Explorer complies with the following RFC 2109
recommended minimum limitations:

* at least 300 cookies
* at least 4096 bytes per cookie (as measured by the size of the
characters that comprise the cookie non-terminal in the syntax description
of the Set-Cookie header)
* at least 20 cookies per unique host or domain name

Note These recommended minimum limitations appear in RFC 2109, section
6.3, "Implementation Limits." For more information, see the "References"
section.
The cookie(s) content is uploaded with each request to the domain the
cookie is associated with. I seriously doubt you want 80Kb worth of
cookies being exchanged by the client and server during each HTTP request.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #2
Ana
Grant Wagner <gw*****@agricoreunited.com> wrote in message news:<41**************@agricoreunited.com>...
The cookie(s) content is uploaded with each request to the domain the
cookie is associated with. I seriously doubt you want 80Kb worth of
cookies being exchanged by the client and server during each HTTP request.


Thank you for your response.

I am not sure I understand one thing. Maybe I was unclear, but the
total size of the cookies on the page is just over 4k. Each cookie is
around 1k. Would there be 80kb worth of cookies being exchanged by the
client and the server?

Could you recommend a better way to implement this? I need to pass the
results of an editable essay (textbox) around 4 paragraphs long to
another page to be printed.
Jul 23 '05 #3
Ana
I'm starting to think that the problem is a bug with Internet
Explorer? Has anyone had this problem? Would I be more likely to get a
response to this question if I include the code?
an*******@yahoo.com (Ana) wrote in message news:<61*************************@posting.google.c om>...
Grant Wagner <gw*****@agricoreunited.com> wrote in message news:<41**************@agricoreunited.com>...
The cookie(s) content is uploaded with each request to the domain the
cookie is associated with. I seriously doubt you want 80Kb worth of
cookies being exchanged by the client and server during each HTTP request.


Thank you for your response.

I am not sure I understand one thing. Maybe I was unclear, but the
total size of the cookies on the page is just over 4k. Each cookie is
around 1k. Would there be 80kb worth of cookies being exchanged by the
client and the server?

Could you recommend a better way to implement this? I need to pass the
results of an editable essay (textbox) around 4 paragraphs long to
another page to be printed.

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vikram Bhatia | last post by:
In my web application we are able to store large data in the browser cookie keeping in mind the limit of 300 cookies per cookie file, 20 keys per cookie per domain and 4KB max size of each cookie....
3
by: Scott | last post by:
Here is the scenario. I need to launch a popup using window.open, but can't pass everything i need to pass on the querystring. So I thought I would set a cookie. Basically I do: ...
1
by: rushik | last post by:
Dear all, We have created a business portal for our organization. The technology used for that is LAMP. Our major access management system of the portal is based on cookies. we set some user...
2
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
1
by: Rakesh Roberts | last post by:
I think I have a very interesting cookie problem. I use form authentications on my application. Through out my application I started using a toggle control that persists its value for the session...
0
by: Nelson P. Varghese | last post by:
How can I disable Session or Transient cookie in IE 6.0.
5
by: ad | last post by:
Hi, How can I delete the cookie in client?
3
by: Milsnips | last post by:
Hi there, i had a small project where i used a session to store the shopping cart, but if it times out, the user loses the cart. Then i thought instead of using session, i'll store the cart in a...
11
by: craigtomo | last post by:
i have changed my login .php file to the following this file is opened directly and is not called from any other file <?php // dBase file $host=""; // Host name $username=""; // Mysql...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.