Back to LIN Commands
CMD_SAVE_SESSION

Command: CMD_SAVE_SESSION 
Destination: SD_LIN
Destination Channel: 0

Description

Clients use this command to cause the to save the internal representation of a read (parsed) LDF (LIN Description File) just before the client exits. Normal clients do not need this function because when they exit, they are done interacting with a given LDF. 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 LIN 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 resulting from parsing an LDF. 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 Saving was successful.
RESP_UNSUPPORTED There is no LIN channel in the .
RESP_UNKNOWN_ERR An unknown error occurred.

|Top|