ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilWACCookie.php
Go to the documentation of this file.
1 <?php
2 require_once('./Services/WebAccessChecker/interfaces/interface.ilWACCookieInterface.php');
3 
9 class ilWACCookie implements ilWACCookieInterface {
10 
21  public function set($name, $value = "", $expire = 0, $path = "", $domain = "", $secure = false, $httponly = false) {
22  return setcookie($name, $value, $expire, $path, $domain, $secure, $httponly);
23  }
24 
25 
30  public function get($name) {
31  return $_COOKIE[$name];
32  }
33 
34 
39  public function exists($name) {
40  return isset($_COOKIE[$name]);
41  }
42 
43 
47  public function getAll() {
48  return $_COOKIE;
49  }
50 }
$path
Definition: aliased.php:25
Class ilWACCookieInterface.
Class ilWACCookie.
$_COOKIE['ilClientId']
Definition: BPMN2Parser.php:15