Back to Table of Contents

Read the client-id, from the data submitted to the server by the user's browser. The client-id is either in a hidden control, or a cookie, depending on the design choices you made for the application. Whichever technique you used, you can get the data using the ACCEPT verb. For example:

 01 inputdata is external input-form.
    03 name-field      pic x(30) identified by "name".
    03 phone-no        pic x(30) identified by "phone".
    03 email           pic x(15) identified by "emailid".
    03 client-id       pic x(30) identified by "clientid".
 procedure division. 
 accept inputdata

This code fetches the client-id from a hidden field or cookie called "clientid".

Copyright © 1998 Micro Focus Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.