Member Function Documentation
Delete the current session destroying all registered data.
Note that it does more but the PHP 4 session_destroy it also throws away a cookie is there's one.
- Returns
- boolean session_destroy return value public
Reimplemented in User.
| freeze |
( |
|
$id = NULL, |
|
|
|
$sess_data = NULL |
|
) |
| |
gc callback.
Destroy all session data older than $this->gc_time
Reimplemented in Seminar_Session.
| is_registered |
( |
|
$var_name | ) |
|
see if a variable is registered in the current session
- Parameters
-
| $var_name | a string with the variable name |
- Returns
- false if variable not registered true on success. public
Reimplemented in User.
Sets or returns the name of the current session
- Parameters
-
| string | If given, sets the session name |
- Returns
- string session_name() return value public
Delete the cookie holding the session id.
RFC: is this really needed? can we prune this function? the only reason to keep it is if one wants to also unset the cookie when session_destroy()ing,which PHP doesn't seem to do (looking @ the session.c:940) uw: yes we should keep it to remain the same interface, but deprec.
public $_COOKIE
Reimplemented in User.
| regenerate_session_id |
( |
|
$keep_session_vars = array() | ) |
|
Register the variable(s) that should become persistent.
- Parameters
-
| mixed | String with the name of one or more variables seperated by comma or a list of variables names: "foo"/"foo,bar,baz"/{"foo","bar","baz"} public |
Reimplemented in User.
| reimport_any_vars |
( |
|
$arrayname | ) |
|
| serialize |
( |
|
$prefix, |
|
|
|
$str |
|
) |
| |
Sets the session name before the session starts.
Make sure that all derived classes call the constructor
- See Also
- name()
Start a new session or recovers from an existing session
- Returns
- boolean session_start() return value public
Read callback.
Reimplemented in User.
Recall the session registration for named variable(s)
- Parameters
-
| mixed | String with the name of one or more variables seperated by comma or a list of variables names: "foo"/"foo,bar,baz"/{"foo","bar","baz"} public |
Reimplemented in User.
Field Documentation
| $allowcache_expire = 1440 |
Name of data storage container
var string
The documentation for this class was generated from the following files: