473,802 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5112
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, "Implementa tion 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*****@agrico reunited.com>
comp.lang.javas cript FAQ - http://jibbering.com/faq

Jul 23 '05 #2
Ana
Grant Wagner <gw*****@agrico reunited.com> wrote in message news:<41******* *******@agricor eunited.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.goo gle.com>...
Grant Wagner <gw*****@agrico reunited.com> wrote in message news:<41******* *******@agricor eunited.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
5153
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. We are unable to retreive this large amount of data immediately after storing through document.cookie in IE browser (The same works fine in Netscape). Is there any limit on the size of the data that can be retreived using document.cookie in IE...
3
3288
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: setCookie('NameList', aReallyLongListOfNames); window.open(aWindowThatNeedsToReadNameList); then in the window (on the server side) I try to access the cookie,
1
1729
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 level cookies at the time of login; using these cookies we provide access of our pages to user. The problem is, sometimes after login process we are getting fatal
2
28604
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
259
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 using cookies that it writes to on the client side (using javascript). What happens sometimes it that the application forces the user back to the authentication page ( the login page). I suspect this has something to do with the limit on the...
0
272
by: Nelson P. Varghese | last post by:
How can I disable Session or Transient cookie in IE 6.0.
5
7966
by: ad | last post by:
Hi, How can I delete the cookie in client?
3
4436
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 cookie, but cookie only stores string values, which makes it tricky to update/remove cart item values because i'd have to so substring, split, etc... What i'm thinking now is to store the cart in a database table, and just add a cookie with...
11
3003
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 username $password=""; // Mysql password $db_name=""; // Database name
0
10538
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10305
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10285
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.