Back to Signal Conversion commands
CMD_RESTORE_SESSION

Command: CMD_RESTORE_SESSION 
Destination: SD_CNVT
Destination Channel: 0

Description

Clients use this command to cause the to restore the internal representation of signal conversion information that had been saved just before the client previously exited. 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_SAVE_SESSION command to simulate a normal session with the Conversion server.


Command Data Format

Unique Identifier
variable number of bytes
Unique Identifier
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.
Response Data Format
none


Response Return Codes

RESP_OK Restoration was successful.
RESP_UNSUPPORTED There is no conversion information in the .
RESP_UNKNOWN_ERR An unknown error occurred.

|Top|