[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/includes/ -> session.inc (summary)

(no description)

File Size: 173 lines (6 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 10 functions

  sess_open()
  sess_close()
  sess_read()
  sess_write()
  sess_regenerate()
  sess_count()
  sess_destroy_sid()
  sess_destroy_uid()
  sess_gc()
  session_save_session()

Functions
Functions that are not part of a class:

sess_open($save_path, $session_name)   X-Ref


sess_close()   X-Ref
No description

sess_read($key)   X-Ref
No description

sess_write($key, $value)   X-Ref
No description

sess_regenerate()   X-Ref
Called when an anonymous user becomes authenticated or vice-versa.


sess_count($timestamp = 0, $anonymous = true)   X-Ref
Counts how many users have sessions. Can count either anonymous sessions or authenticated sessions.

param: int $timestamp
param: boolean $anonymous
return: int

sess_destroy_sid($sid)   X-Ref
Called by PHP session handling with the PHP session ID to end a user's session.

param: string $sid

sess_destroy_uid($uid)   X-Ref
End a specific user's session

param: string $uid

sess_gc($lifetime)   X-Ref
No description

session_save_session($status = NULL)   X-Ref
Determine whether to save session data of the current request.

This function allows the caller to temporarily disable writing of session data,
should the request end while performing potentially dangerous operations, such as
manipulating the global $user object.  See http://drupal.org/node/218104 for usage

param: $status
return:



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7