session_cache_expire PHP 4.1.0

int session_cache_expire([int new_cache_expire])

 

Returns the current cache_expire; if new_cache_expire is given, the current cache_expire is replaced with new_cache_expire.

session_cache_limiter PHP 4.0.3

string session_cache_limiter([string new_cache_limiter])

 

Returns the current cache_limiter; if new_cache_limiter is given, the current cache_limiter is replaced with new_cache_limiter.

session_decode PHP 4.0

bool session_decode(string data)

 

Deserializes data and reinitializes the variables.

session_destroy PHP 4.0

bool session_destroy(void)

 

Destroys the current session and all data associated with it.

session_encode PHP 4.0

string session_encode(void)

 

Serializes the current setup and returns the serialized representation.

session_id PHP 4.0

string session_id([string newid])

 

Returns the current session ID; if newid is given, the session ID is replaced with newid.

session_is_registered PHP 4.0

bool session_is_registered(string varname)

 

Checks if a variable is registered in the session.

session_module_name PHP 4.0

string session_module_name([string newname])

 

Returns the current module name used for accessing session data; if newname is given, the module name is replaced with newname.

session_name PHP 4.0

string session_name([string newname])

 

Returns the current session name; if newname is given, the session name is replaced with newname.

session_register PHP 4.0

bool session_register(mixed var_names[, mixed ...])

 

Adds variable name(s) to the list of variables that are frozen at the session end.

session_save_path PHP 4.0

string session_save_path([string newname])

 

Returns the current save path; if newname is given, the save path is replaced with newname.

session_set_save_handler PHP 4.0

void session_set_save_handler(string open, string close, string read, string write, string destroy, string gc)

 

Sets user-level functions.

session_start PHP 4.0

bool session_start(void)

 

Begins a session by reinitializing frozen variables, registers browsers, etc.

session_unregister PHP 4.0

bool session_unregister(string varname)

 

Removes varname from the list of variables that are frozen at the session end.

session_unset PHP 4.0

void session_unset(void)

 

Unsets all registered variables.

session_write_close PHP 4.0.4

void session_write_close(void)

 

Writes session data and ends session.