|
Stud.IP
2.4 Revision 48548
|


Public Member Functions | |
| register ($things) | |
| is_registered ($name) | |
| unregister ($things) | |
| get_id ($id="") | |
| put_id () | |
| delete () | |
| url ($url) | |
| purl ($url) | |
| self_url () | |
| pself_url () | |
| hidden_session () | |
| add_query ($qarray) | |
| padd_query ($qarray) | |
| serialize ($prefix, $str) | |
| get_lock () | |
| release_lock () | |
| freeze () | |
| thaw () | |
| reimport_get_vars () | |
| reimport_post_vars () | |
| reimport_cookie_vars () | |
| reimport_any_vars ($arrayname) | |
| set_container () | |
| set_tokenname () | |
| release_token () | |
| put_headers () | |
| gc () | |
| start ($sid="") | |
| Session () | |
| start () | |
| name ($name= '') | |
| put_id () | |
| delete () | |
| set_tokenname () | |
| put_headers () | |
| open () | |
| close () | |
| del () | |
| freeze ($id=NULL, $sess_data=NULL) | |
| thaw () | |
| gc () | |
| set_container () | |
| regenerate_session_id ($keep_session_vars=array()) | |
| register () | |
| is_registered () | |
| unregister () | |
Data Fields | |
| $classname = "Session" | |
| $magic = "" | |
| $mode = "cookie" | |
| $fallback_mode | |
| $lifetime = 0 | |
| $cookie_domain = "" | |
| $cookie_path = "/" | |
| $gc_time = 1440 | |
| $gc_probability = 1 | |
| $auto_init = "" | |
| $secure_auto_init = 1 | |
| $allowcache = "no" | |
| $allowcache_expire = 1440 | |
| $that_class = "" | |
| $name = "" | |
| $id = "" | |
| $that | |
| $pt = array() | |
| $in = false | |
| $cookiename | |
| $trans_id_enabled = true | |
| $module = 'user' | |
| $save_path | |
| add_query | ( | $qarray | ) |
| close | ( | ) |
Close callback
| del | ( | ) |
Delete callback

| delete | ( | ) |
| delete | ( | ) |
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.

| freeze | ( | ) |

| freeze | ( | $id = NULL, |
|
$sess_data = NULL |
|||
| ) |

| gc | ( | ) |
gc callback.
Destroy all session data older than $this->gc_time
Reimplemented in Seminar_Session.

| gc | ( | ) |
Reimplemented in Seminar_Session.


| get_id | ( | $id = "" | ) |
| get_lock | ( | ) |

| hidden_session | ( | ) |
| is_registered | ( | $name | ) |
| is_registered | ( | ) |
| name | ( | $name = '' | ) |
Sets or returns the name of the current session
| string | If given, sets the session name |

| open | ( | ) |
Open callback
abstract
| padd_query | ( | $qarray | ) |
| pself_url | ( | ) |
| purl | ( | $url | ) |
| put_headers | ( | ) |
?
| put_headers | ( | ) |

| put_id | ( | ) |
| put_id | ( | ) |
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 | ( | $things | ) |
| register | ( | ) |
| reimport_any_vars | ( | $arrayname | ) |

| reimport_cookie_vars | ( | ) |

| reimport_get_vars | ( | ) |

| reimport_post_vars | ( | ) |

| release_lock | ( | ) |

| release_token | ( | ) |


| self_url | ( | ) |
| serialize | ( | $prefix, | |
| $str | |||
| ) |

| Session | ( | ) |
Sets the session name before the session starts.
Make sure that all derived classes call the constructor


| set_container | ( | ) |

| set_container | ( | ) |
?
| set_tokenname | ( | ) |
?

| set_tokenname | ( | ) |


| start | ( | ) |
Start a new session or recovers from an existing session


| start | ( | $sid = "" | ) |
| thaw | ( | ) |


| thaw | ( | ) |
Read callback.

| unregister | ( | $things | ) |
| unregister | ( | ) |
| url | ( | $url | ) |
| $allowcache = "no" |
| $allowcache_expire = 1440 |
| $auto_init = "" |
| $classname = "Session" |
Session name
| $cookie_domain = "" |
| $cookie_path = "/" |
| $cookiename |
| $fallback_mode |
| $gc_probability = 1 |
| $gc_time = 1440 |
| $id = "" |
| $in = false |
| $lifetime = 0 |
| $magic = "" |
| $mode = "cookie" |
| $module = 'user' |
| $name = "" |
| $pt = array() |
| $save_path |
| $secure_auto_init = 1 |
| $that |
| $that_class = "" |
Name of data storage container
var string
| $trans_id_enabled = true |