NetCOBOL for SPARC Architecture SAF Subroutines User's Guide
NetCOBOL for SPARC Architecture SAF Subroutines User's Guide
NetCOBOL for SPARC Architecture SAF Subroutines User's Guide
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Manipulate Cookie Data<br />
Chapter 3. How to Use <strong>SAF</strong> <strong>Subroutines</strong> 49<br />
COBW3_SET_COOKIE, COBW3_SET_COOKIE_XX,<br />
COBW3_SET_COOKIE_NX, COBW3_SET_COOKIE_XN,<br />
COBW3_SET_COOKIE_NN<br />
Register the Cookie data to be sent to the WWW browser. The registered Cookie<br />
data is used <strong>for</strong> header output.<br />
Each subroutine has the following meaning.<br />
ASCII environment:<br />
• COBW3_SET_COOKIE<br />
Registers the alphanumeric Cookie name and the corresponding Cookie value as<br />
an alphanumeric character string.<br />
Unicode environment:<br />
• COBW3_SET_COOKIE_XX<br />
Registers the alphanumeric Cookie name and the corresponding Cookie value as<br />
an alphanumeric character string.<br />
•<br />
•<br />
•<br />
COBW3_SET_COOKIE_NX<br />
Registers the national character Cookie name and the corresponding Cookie<br />
value as an alphanumeric character string.<br />
COBW3_SET_COOKIE_XN<br />
Registers the alphanumeric Cookie name and the corresponding Cookie value as<br />
a national character string.<br />
COBW3_SET_COOKIE_NN<br />
Registers the national character Cookie name and the corresponding Cookie<br />
value as a national character string.<br />
Note: Use this subroutine be<strong>for</strong>e calling COBW3_PUT_HTML or COBW3_PUT_TEXT.<br />
The Cookie character code sent to the WWW browser is always ASCII regardless of<br />
the COBOL operation code system.<br />
Formats:<br />
CALL "COBW3_SET_COOKIE" USING COBW3.<br />
CALL "COBW3_SET_COOKIE_XX" USING COBW3.<br />
CALL "COBW3_SET_COOKIE_NX" USING COBW3.<br />
CALL "COBW3_SET_COOKIE_XN" USING COBW3.