session_api_available()
Determine if cookies are enabled.
session_api_get_sid()
Return a Session API ID corresponding to the current session. The Session API ID is the mapping of the private php session_id to the ID used by modules leveraging the Session API.
session_api_session_api_cleanup($op = 'run')
Implementation of hook_session_api_cleanup().

A self implementation of the Session API cleanup hook. Generally called from session_api_cron().

Parameters:
string $op
The operation the function perform.

  • run - perform the cleanup
  • info - provide information(in the form of a keyed array) of the title and description of the cleanup.

Returns:
Varies with $op.

  • run - NULL
  • info - a keyed array containing title and description