Changeset 713
- Timestamp:
- 06/05/07 22:43:20 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/ipo/response/stubCookie.php
r142 r713 9 9 /** 10 10 * Container for cookies to be send out to the user. 11 * 11 * 12 12 * Cookies are used to store user-related data within the user-agent 13 13 * e.g. to help detecting that requests are done by the same user. … … 16 16 * @package stubbles 17 17 * @subpackage ipo_response 18 * @ seehttp://wp.netscape.com/newsref/std/cookie_spec.html19 * @ seehttp://www.faqs.org/rfcs/rfc2109.html18 * @link http://wp.netscape.com/newsref/std/cookie_spec.html 19 * @link http://www.faqs.org/rfcs/rfc2109.html 20 20 */ 21 21 class stubCookie extends stubBaseObject … … 63 63 */ 64 64 protected $httpOnly = false; 65 65 66 66 /** 67 67 * constructor … … 75 75 $this->value = $value; 76 76 } 77 77 78 78 /** 79 79 * creates the cookie … … 88 88 return $cookie; 89 89 } 90 90 91 91 /** 92 92 * set the timestamp when the cookie will expire … … 100 100 return $this; 101 101 } 102 102 103 103 /** 104 104 * set the path for which the cookie should be available … … 112 112 return $this; 113 113 } 114 114 115 115 /** 116 116 * set the domain where this cookie will be available … … 124 124 return $this; 125 125 } 126 126 127 127 /** 128 128 * switch whether cookie should only be used in secure connections … … 136 136 return $this; 137 137 } 138 138 139 139 /** 140 140 * switch whether cookie should only be accessible through http … … 148 148 return $this; 149 149 } 150 150 151 151 /** 152 152 * returns name of cookie … … 158 158 return $this->name; 159 159 } 160 160 161 161 /** 162 162 * returns value of cookie … … 168 168 return $this->value; 169 169 } 170 170 171 171 /** 172 172 * returns expiration timestamp of cookie … … 178 178 return $this->expires; 179 179 } 180 180 181 181 /** 182 182 * returns path of cookie … … 188 188 return $this->path; 189 189 } 190 190 191 191 /** 192 192 * returns domain of cookie … … 198 198 return $this->domain; 199 199 } 200 200 201 201 /** 202 202 * checks whether cookie should only be used in secure connections … … 208 208 return $this->secure; 209 209 } 210 210 211 211 /** 212 212 * checks whether cookie should only be accessible through http
