phpLDAPadmin
[ class tree: phpLDAPadmin ] [ index: phpLDAPadmin ] [ all elements ]

Procedural File: session_functions.php

Source Location: /lib/session_functions.php



Page Details:

A collection of functions to handle sessions throughout phpLDAPadmin.



Tags:

filesource:  Source Code for this file
author:  The phpLDAPadmin development team







PLA_SESSION_ID [line 11]

PLA_SESSION_ID = 'PLASESSID'
The session ID that phpLDAPadmin will use for all sessions


[ Top ]



pla_session_id_init [line 15]

pla_session_id_init = 'pla_initialized'
Flag to indicate whether the session has already been initialized (this constant gets stored in $_SESSION)


[ Top ]



pla_session_id_ip_min [line 17]

pla_session_id_ip_min = 8
The minimum first char value IP in hex for IP hashing.


[ Top ]



pla_session_id_paranoid [line 13]

pla_session_id_paranoid = false
Enables session paranoia, which causes SIDs to change each page load (EXPERIMENTAL!)


[ Top ]



pla_session_id_ses_max [line 19]

pla_session_id_ses_max = 36
The maximum first char value of the IP in hex for IP hashing.


[ Top ]




pla_session_close [line 162]

void pla_session_close( )

Stops the current session.



[ Top ]



pla_session_get_id [line 26]

string pla_session_get_id( )

Creates a new session id, which includes an IP hash.



Tags:

return:  the new session ID string


[ Top ]



pla_session_param [line 70]

void pla_session_param( )



[ Top ]



pla_session_start [line 83]

bool pla_session_start( )

The only function which should be called by a user



Tags:

return:  Returns true if the session was started the first time
see:  PLA_SESSION_ID
see:  common.php


[ Top ]



pla_session_verify_id [line 51]

bool pla_session_verify_id( )

Checks if the session belongs to an IP



Tags:

return:  True, if the session is valid


[ Top ]



Documentation generated on Sun, 30 Dec 2007 17:50:51 -0800 by phpDocumentor 1.3.1