;;; 5.mhtml: -*- Meta-HTML -*- 

;;;  Copyright (c) 1996 Universal Access Inc.
;;;  Author: Art Medlar, Henry Minsky (hqm@ua.com) Sat Jul 27 22:42:15 1996.

<set-var title="Using Sessions">
<include header.mhtml>

<plain-text>
  One powerful feature of <meta-html> is the ability to create a
  personal <i>session</i> (see <secref Session Operators>) for each user
  who browses your site.

  A session is a persistent storage area which is associated with a
  particular incoming user who accesses your Web pages. You can save
  information in <meta-html> session variables between page accesses, and
  use that information in your Web pages.

  In this example, we ask the user for their name, and then store that
  name as a session variable.  We can reference that session variable to
  personalize every page with the user's name.

  Sessions can be used to hold user preferences when they visit your
  site, or to create a 'shopping basket' which contains items they have
  picked up in the online store.

  <section-pages 5>
  cake-template.mhtml
  session.mhtml
  red.mhtml
  green.mhtml
  black.mhtml
  blue.mhtml
  header.mhtml
  footer.mhtml
  </section-pages>

  <pagelist-control-panel>
</plain-text>
<include footer.mhtml>
