Function __global->get_pseudo_session_id

Definitions

sources/users.php

  • Get the current session ID, or if there is none something that can roughly differentiate a session. Used by stats code.Use very carefully, we don't want the output of this function to bias static cached pages in any way.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Returns

  • The current pseudo session ID
  • Type: ID_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the current session ID, or if there is none something that can roughly differentiate a session. Used by stats code.Use very carefully, we don't want the output of this function to bias static cached pages in any way.
 *
 * @return ID_TEXT The current pseudo session ID
 */

function get_pseudo_session_id() : string