Sirius Software, Inc.
Contents
 

 

Sirius Home
 

Strand Travel Customer Preference Form

Welcome to Strand Travel. Please indicate your preferences below.

Enter your seating preference:

  • Aisle
  • Window
  • Below overstuffed overhead bin
  • Next to turbine intake
  • Near distressed infant

Enter your food preference:

  • Superheated Starch Globules
  • Mystery Meat Amalgam (Considered flight insurance?)
  • Heavily salted snack
  • Petrified omelette

This form demonstrates the use of HTTP Cookies.

Cookies are an extension to the HTTP protocol that allow HTTP servers to store a client's preferences and selections on the client machine.

If this is your first visit to this page today, none of the preferences are checked. Click an entry in the seat preferences, then check a box or two in the food preferences.

Now submit the form.

The server processes the the form, and sends your preferences back to your browser as HTTP Cookies.

The next time you request this form, your earlier preferences will be sent back to the server in a "cookie". The server application uses the cookies to fill in the form with your earlier choices.

Else

This time, the data you entered has been retrieved from the cookie which was stored when you submitted your preferences.

You may change your preferences again if you like, and repeat the process.

You can see the User Language code' that does all this.

 

Printer friendly

Sirius Home

 

Sirius Software, Inc.
875 Massachusetts Ave. Suite 21
Cambridge, MA 02139
Phone: 617-876-6677
Fax: 617-234-1200
Email: support

 

 

  © 2010 Sirius Software, Inc.