I store some preference data in cookies. However, I just noticed that this data is sent to the server with every request. Is there any way to prevent this?
A friend knocked over web storage, but that still leaves IE6 / 7 without a solution.
You can set cookies only for HTTP (so browsers will not allow JS to access them), but not vice versa.
Web storage is perfect, but you need to drop cookies for legacy browsers.
, cookie, (, css ) cookie .
- cookie . (, ) cookie.
, . cookie , , , javascript.
, - - CDN, , Rackspace Cloudfiles - . .
!
Source: https://habr.com/ru/post/1791506/More articles:SocketException: this host is not known - mysqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1791502/on-windows-how-can-i-protect-arguments-to-shell-scripts-using-python-27-subprocess&usg=ALkJrhg1o0rTBmNGBkVsAI6zyGeHCe2HBQhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1791503/tool-to-convert-pdf-files-to-swf&usg=ALkJrhgOm3QQ8t61vx1MUVOu-a4W_nQojwHow to get progress event working with jplayer - javascriptObjectContext.ExecuteStoreCommand how to clear parameters between calls? - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1791507/moving-mvc2-helpers-to-mvc3-razor-view-engine&usg=ALkJrhiwb9RTvapSmpm5rjWUyPAj8cVtlgHow to detect a swivel click to the right or left? - windows-phone-7Printing in landscape mode using the WebBrowser control? - c #What are the advantages of developing a Java server application over other languages? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1791511/running-internet-explorer-with-run-as-fails-to-open-a-new-pdf-window&usg=ALkJrhgaE3ssFKIbWgh5q_YgwDdzxRJHHwAll Articles