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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.