O'Reilly logo

Web Developer’s Cookbook: More Than 300 Ready-Made PHP, JavaScript, and CSS Recipes by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required