ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
Cookies.php
Go to the documentation of this file.
1<?php
46
47 public function open( $savePath, $sessionName ) {
48 return true;
49 }
50
51 public function close() {
52 return true; //Not used
53 }
54
55 public function read( $id ) {
56 return $this->app->getEncryptedCookie($id);
57 }
58
59 public function write( $id, $sessionData ) {
60 $this->app->setEncryptedCookie($id, $sessionData, 0);
61 }
62
63 public function destroy( $id ) {
64 $this->app->deleteCookie($id);
65 }
66
67 public function gc( $maxLifetime ) {
68 return true; //Not used
69 }
70
71}
read( $id)
Read session data with ID.
Definition: Cookies.php:55
open( $savePath, $sessionName)
Open session.
Definition: Cookies.php:47
gc( $maxLifetime)
Session garbage collection.
Definition: Cookies.php:67
destroy( $id)
Destroy session with ID.
Definition: Cookies.php:63
write( $id, $sessionData)
Write session data with ID.
Definition: Cookies.php:59
close()
Close session.
Definition: Cookies.php:51