Format a cookie for a Cookie header
Description
This is used when sending cookies to a server.
Source
public function format_for_header() {
return sprintf('%s=%s', $this->name, $this->value);
}
Format a cookie for a Cookie header
This is used when sending cookies to a server.
public function format_for_header() {
return sprintf('%s=%s', $this->name, $this->value);
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.