   =========================================================================
                        M I C R O   F O C U S

                  S E R V E R   E X P R E S S  5.0
   =========================================================================


                               SSTATE DEMO
                               ===========

   TABLE OF CONTENTS
   =================

       INTRODUCTION
       SOURCE FILES
       REQUIREMENTS
       OPERATION

   INTRODUCTION
   ============

   This demonstration program is an application which uses the MF_CLIENT
   APIs to allow you to easily save and restore CGI or client side information.
   (Server side persistence).

   SOURCE FILES
   ============

   pizza.cbl (main program)
   sstate.cbl (Sub module)

   Also required:

   enter.htm     (initial html file)
   new.htm       (for new customers)
   previous.htm  (for customers returning to site)
   shop.htm      (main selection html file)
   confirm.htm   (allows customer to be sure before buying product)
   save.htm      (allows customer to save details but not commit to buying yet)
   change.htm    (allows customer to change any details)
   buy.htm       (customer has bought the product)


   REQUIREMENTS
   ============

   An operational web server  - this can be on your development machine or
                                on a remote machine. This also requires
                                TCP/IP to be installed and running.

   An operational web browser - this resides on your development machine.

   Before starting the demo, check that you can access the web site
   (for example; http://www.microfocus.com) from your browser.

   OPERATION
   =========
 
   See $COBDIR/docs/readme.1 for CGI debugging instructions.

   OPERATION
   =========

   Once you have created pizza, this should be placed in your development
   cgi-bin directory.

   Next all the .htm files need to specify the username of the developer
   using the demo ie: USERID must be changed to a valid id.

   Also buy.html and save.htm both contain anchors back to enter.htm.

   To see the results of this application;

        - use your browser to load enter.htm. For example,
        - http://my-machine-name/my-html-dir/enter.htm
        - Press the "Press to continue" button to start the application.
        - Fill in the form
        - Press submit
        - continue to select toppings and follow the submit buttons as you
          wish
        
   A file clpizza.dat and clpizza.idx will be created in your CGI 
   directory.

   NOTES:

         Please be aware that you need to use a browser which can handle
         Cookies. Internet Explorer 3.02 and Netscape 2.0 beyond both accept
         cookies.

         Accepting cookies can be turned off by browser options. If this 
         is done be aware that the application may not behave as expected.
         See the documentation, Solutions Guide, Internet Applications
         Chapter Seven for more information on SSTATE and cookies.

   =========================================================================
   Micro Focus is a registered trademark, and Server Express is a trademark,
   of Micro Focus International Limited. 
   =========================================================================
   Copyright (C) 1999 Micro Focus International Limited. 
   All rights reserved.

