|
Stud.IP
2.4 Revision 48548
|


Public Member Functions | |
| Seminar_Session () | |
| gc () | |
Public Member Functions inherited from Session | |
| 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 () | |
| start ($sid="") | |
| Session () | |
| start () | |
| name ($name= '') | |
| put_id () | |
| delete () | |
| set_tokenname () | |
| put_headers () | |
| open () | |
| close () | |
| del () | |
| freeze ($id=NULL, $sess_data=NULL) | |
| thaw () | |
| set_container () | |
| regenerate_session_id ($keep_session_vars=array()) | |
| register () | |
| is_registered () | |
| unregister () | |
Static Public Member Functions | |
| is_current_session_authenticated () | |
| get_current_session_state () | |
| get_session_vars ($sid) | |
| get_ticket () | |
| check_ticket ($studipticket) | |
Data Fields | |
| $classname = "Seminar_Session" | |
| $cookiename = "Seminar_Session" | |
| $magic = "sdfghjdfdf" | |
| $mode = "cookie" | |
| $fallback_mode = "cookie" | |
| $lifetime = 0 | |
| $that_class = "Seminar_CT_Sql" | |
| $gc_probability = 2 | |
| $allowcache = "nocache" | |
| $cookie_secure = false | |
| $cookie_httponly = true | |
Data Fields inherited from Session | |
| $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 | |
|
static |
checks the given string token against the one stored in the session
| string | $studipticket |

| gc | ( | ) |
|
static |
Returns the state of the current session. Does not start a session. possible return values: 'authenticated' - session is valid and user is authenticated 'nobody' - session is valid, but user is not authenticated false - no valid session


|
static |
returns a SessionDecoder object containing the session variables for the given session id
| string | $sid | a session id |


|
static |
returns a random string token for XSRF prevention the string is stored in the session

|
static |
Returns true, if the current session is valid and belongs to an authenticated user. Does not start a session.


| Seminar_Session | ( | ) |


| $allowcache = "nocache" |
| $classname = "Seminar_Session" |
| $cookie_httponly = true |
| $cookie_secure = false |
| $cookiename = "Seminar_Session" |
| $fallback_mode = "cookie" |
| $gc_probability = 2 |
| $lifetime = 0 |
| $magic = "sdfghjdfdf" |
| $mode = "cookie" |
| $that_class = "Seminar_CT_Sql" |