|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
"Manueller" Session-Fallback mit PHP4 More...
Collaboration diagram for Session:Public Member Functions | |
| __construct ($sessionName="SESSID") | |
| Konstruktor - nimmt, wenn gewuenscht einen neuen Session-Namen entgegen. More... | |
| sendNoCacheHeader () | |
| Cacheing unterbinden. More... | |
| redirectTo ($pathInfo) | |
| HTTP-Redirect ausführen (header("Location: ...") More... | |
| removeTrail ($pathInfo) | |
| Entfernt mögliche abschließende "&" und "?". More... | |
| url ($pathInfo) | |
| Fallback via GET - wenn Cookies ausgeschaltet sind. More... | |
Data Fields | |
| $version = 106 | |
| $usesCookies = false | |
| $transSID = false | |
"Manueller" Session-Fallback mit PHP4
Definition at line 33 of file class.Session.php.
| Session::__construct | ( | $sessionName = "SESSID" | ) |
Konstruktor - nimmt, wenn gewuenscht einen neuen Session-Namen entgegen.
Definition at line 46 of file class.Session.php.
References $_COOKIE, $_SERVER, $query, redirectTo(), and sendNoCacheHeader().
Here is the call graph for this function:| Session::redirectTo | ( | $pathInfo | ) |
HTTP-Redirect ausführen (header("Location: ...")
Diese Methode berücksichtigt auch nicht-standard Ports und SSL. Ein GET-Parameter beim wird bei Bedarf (Session-ID-Fallback) an die URI drangehängt. Nach dem Aufruf dieser Methode wird das aktive Script beendet und die Kontrolle wird an das Ziel-Script übergeben.
| string | Ziel-Datei (z.B. "index.php") |
Definition at line 136 of file class.Session.php.
References $_SERVER, exit, and url().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| Session::removeTrail | ( | $pathInfo | ) |
Entfernt mögliche abschließende "&" und "?".
| string | String |
Definition at line 172 of file class.Session.php.
Referenced by url().
Here is the caller graph for this function:| Session::sendNoCacheHeader | ( | ) |
Cacheing unterbinden.
Ergänze/Override "session.cache_limiter = nocache"
| void |
Definition at line 113 of file class.Session.php.
Referenced by __construct().
Here is the caller graph for this function:| Session::url | ( | $pathInfo | ) |
Fallback via GET - wenn Cookies ausgeschaltet sind.
| string | Ziel-Datei |
Definition at line 185 of file class.Session.php.
References removeTrail().
Referenced by redirectTo().
Here is the call graph for this function:
Here is the caller graph for this function:| Session::$transSID = false |
Definition at line 37 of file class.Session.php.
| Session::$usesCookies = false |
Definition at line 36 of file class.Session.php.
| Session::$version = 106 |
Definition at line 35 of file class.Session.php.