[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/SessionHandler/ -> ldap.php (sommaire)

(pas de description)

Poids: 137 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

SessionHandler_ldap:: (6 méthodes):
  open()
  close()
  read()
  write()
  destroy()
  gc()


Classe: SessionHandler_ldap  - X-Ref

SessionHandler implementation for LDAP directories.

Required parameters:<pre>
'foo'       The foo.

Optional parameters:<pre>
'hostspec'  The hostname of the ldap server.

$Horde: framework/SessionHandler/SessionHandler/ldap.php,v 1.2.2.2 2005/10/18 11:01:27 jan Exp $

This code is adapted from the comments at
http://www.php.net/session-set-save-handler.

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

open($save_path, $session_name)   X-Ref
Open the SessionHandler backend.

param: string $save_path     The path to the session object.
param: string $session_name  The name of the session.
return: boolean  True on success, false otherwise.

close()   X-Ref
Close the SessionHandler backend.

return: boolean  True on success, false otherwise.

read($id)   X-Ref
Read the data for a particular session identifier from the
SessionHandler backend.

param: string $id  The session identifier.
return: string  The session data.

write($id, $session_data)   X-Ref
Write session data to the SessionHandler backend.

param: string $id            The session identifier.
param: string $session_data  The session data.
return: boolean  True on success, false otherwise.

destroy($id)   X-Ref
Destroy the data for a particular session identifier in the
SessionHandler backend.

param: string $id  The session identifier.
return: boolean  True on success, false otherwise.

gc($maxlifetime = 300)   X-Ref
Garbage collect stale sessions from the SessionHandler backend.

param: integer $maxlifetime  The maximum age of a session.
return: boolean  True on success, false otherwise.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7