Command: CMD_SAVE_SESSION
Destination: SD_CNVT
Destination Channel: 0
Description
Clients use this command to cause the to save the internal representation of signal conversion information just before the client exits. Normal clients do not need this function because when they exit, they are done interacting with a given set of signal conversions. This command is present for php programs that run intermittently on behalf of a web page. This command is used in conjuction with the CMD_RESTORE_SESSION command to simulate a normal session with the Conversion server.
Command Data Format
Unique Identifier variable number of bytes
Unique IdentifierResponse Data Format
This is a string of characters that is used to identify the data used for signal conversion. The php session id is a good choice to use for web page usage. The string does not have to be null terminated.
none
Response Return Codes
RESP_OK Saving was successful. RESP_UNSUPPORTED There is no conversion information in the . RESP_UNKNOWN_ERR An unknown error occurred.