Using Session Variables for Multiple-Page Data Entry

Session variables can be especially handy for data-entry processes that require the user to fill out a number of pages. Let’s say you have been asked to put together a data-entry interface for Orange Whip Studios’ intranet. The idea is for your users to be able to add new film records to the studio’s database. A number of pieces of information will need to be supplied by the user (title, director, actors, and so on).

The most obvious solution would be to just create one long, complex form. However, suppose further that you have been specifically asked not to do this because it might confuse the interns the company hires to do its data-entry tasks.

After carefully considering your options, ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started 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.