Session::set_cookie()
Description #
Set the session cookie.
Source #
File: includes/class/class-session.php
protected function set_cookie() { if ( ! headers_sent() ) { setcookie( $this->name, $this->id, time() + $this->expires, $this->cookie_path, $this->cookie_domain ); } }
Expand full source code Collapse full source code View on GitHub: includes/class/class-session.php:94
Add your comment