Settings of the user’s Plesk GUI session are held by the session_setup node of the response XML packet. The node has the following structure:

image 37048

  • The login_timeout node is optional. It returns the period (in minutes) during which the user’s session can idle before it is automatically closed by the server. Data type: int (integer). Allowed values: 1 to 99999.

A response packet received from server can look as follows:

<packet>
    <server>
        <get>
            <result>
                <status>ok</status>
                <session_setup>
                    <login_timeout>30</login_timeout>
                </session_setup>
            </result>
        </get>
    </server>
</packet>