Cookies are intended for infrequent storage of small amounts of data. They are not intended as a general-purpose communication or mechanism; use them in moderation. Note that web browsers are not required to retain more than 300 cookies total, nor more than 20 cookies per web server (for the entire server, not just for your page or site on the server), nor to retain more than 4 kilobytes of data per cookie (both name and value count towards this 4 kilobyte limit). The most restrictive of these is the 20 cookies per server limit, and so it is not a good idea to use a separate cookie for each variable you want to save. Instead, you should try to store multiple state variables within a single named cookie.
In Internet Explorer 3.0, the cookie property only works for Document objects that were retrieved using the HTTP protocol. Documents retrieved from the local file system or via other protocols such as FTP cannot have cookies associated with them. This limitation will be resolved in a future release of IE.
file: /Techref/language/JAVA/SCRIPT/definitive/ch15_04.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/12/19 01:36,
18.119.110.17:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/language/JAVA/SCRIPT/definitive/ch15_04.htm"> [Chapter 15] 15.4 Cookie Limitations</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.