Browsing ยป Development

Advanced Cookie Concepts

Welcome to this, the final part of our three-part series on creating persistent data without CGI. If you’re not sure what persistent data is, or why it would be useful to you, you might want to go back and read part 1, where all these basic concepts are explained.

Persistent Data – Hiding In A Frameset

The first technique for creating persistent data that we’ll be looking at involves storing the data in a frameset. As we’ll see, this is a relatively simple technique; however, it has several drawbacks. Chief among these is the requirement that your page use frames; furthermore, you must rely on the user not only to have a frames-capable browser, but to stay within your frames when viewing your site.

Persistent Data – Basic Concepts

Before we get into the nitty gritties of how data can be made to persist between pages, I think it would be a good idea to give a concrete example of why one would want to implement such a thing. As a practical example, imagine you’re writing a Web site for your small rock band. You haven’t made it big yet, but you have a cult following that would like to be able to receive notices of your upcoming gigs. On your Web site, you want to create a form for people who would like to sign up to your mailing list, and you want people to be able to confirm their e-mail address before sending it off to you.

Persistent Data without CGI

This article about persistent data will be a little different from the first two. The first article, which covered javascript mouseovers, and the second, which covered frames, explored techniques that can easily be taken and applied to just about any website out there. In contrast, this article is a little more abstract, presenting a technique that, while extremely useful when needed, is not likely to be added to just any website.

Image Mapping

An image map is an image that comprises different clickable areas. Each area is a link that when clicked takes the visitor to a different URL. For example, imagine a map of the world, where each country takes the visitor to a web page about that country when clicked. In HTML speak, each clickable area is actually a hyperlink. Image maps provide an easy way of linking various parts of an image without dividing the image into separate image files.

Next Entries »