sessionOpen

Description

Dummy function used as callback for session_set_save_handler when database-driven sessions are enabled.

Syntax

bool sessionOpen (string $save_path, string $session_name)



Parameter $save_path

Expected type: String
Description: The path to the directory where session data is saved



Parameter $session_name

Expected type: String
Description: The name of the session to open



Return value

Expected type: Boolean
Description: Always returns true


Notes

  • Dummy function - doesn't actually do anything
  • Session info is actually loaded in loadSession()
  • Only used when database-driven sessions are enabled
  • See http://www.php.net/session_set_save_handler for more details.
Advertisement: