Top
NetCOBOL V11.0 ISAPI Subroutines User's Guide
FUJITSU Software

3.9.2 COBW3_DEL_COOKIE, COBW3_DEL_COOKIE_X and COBW3_DEL_COOKIE_N

These subroutines delete Cookie data registered by, for example, COBW3_SET_COOKIE.

The following lists the meaning of each subroutine:

ASCII environment

COBW3_DEL_COOKIE

Deletes Cookie data corresponding to an alphanumeric string Cookie name.

Unicode environment

COBW3_DEL_COOKIE_X

Deletes Cookie data corresponding to an alphanumeric string Cookie name.

COBW3_DEL_COOKIE_N

Deletes Cookie data corresponding to a national character string Cookie name.

Note

Use this subroutine before using COBW3_PUT_HTML or COBW3_PUT_TEXT. If this subroutine is used after COBW3_PUT_HTML or COBW3_PUT_TEXT is used even once, the specified information will become invalid.

How to write

CALL "COBW3_DEL_COOKIE" USING COBW3.
CALL "COBW3_DEL_COOKIE_X" USING COBW3.
CALL "COBW3_DEL_COOKIE_N" USING COBW3.

Data setting for calling

COBW3-COOKIE-NAME and COBW3-COOKIE-NAME-N

Set the Cookie name to be deleted.

For COBW3_DEL_COOKIE, COBW3_DEL_COOKIE_X, set the Cookie name to COBW3-COOKIE-NAME.

For COBW3_DEL_COOKIE_N, set the Cookie name to COBW3-COOKIE-NAME-N.

COBW3-COOKIE-NAME-LENGTH [optional]

If the Cookie name has a valid blank at the end, set the string length (byte length) of the Cookie name including the blank.

Value

Meaning

0

Deletes the Cookie name using the length up to the last character excluding the blank. However, if COBW3-COOKIE-NAME or COBW3-COOKIE-NAME-N is completely blank, the string length is set to zero for processing.

1 to 64

Deletes the Cookie name using the specified string length.

Processing result data

None