CHAPTER 21
image
Cookies, Ajax, and Security
When developing with JavaScript, you often need ways to store and retrieve data from both the user’s web browser and the web server. This chapter provides you with the recipes you need to manage the transfer of cookies between the web document and browser and to handle Ajax calls between the browser and web server.
There are also a couple of recipes you can use to bust a web page out of frames if it has been loaded inside one and to allow you to put your e-mail address in a web document in such a way that it is easily clickable or copyable by a surfer, but not by web bots that harvest e-mail addresses for ...

Get Web Developer's Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.