[Previous] [Contents] [Next]


sessionClose


The sessionClose( ) handler can perform any housekeeping functions that need to be executed before a script ends. In the handler implementation shown in Example D-6, the connection setup returned by the sessionOpen( ) is true.

Example D-6. The sessionClose handler
// This function is executed on shutdown of the session.
// Always returns true.

function sessionClose($sess_id)
{
    return true;
}

[Previous] [Contents] [Next]