能用。手册有介绍 http://doc3.workerman.net/advanced/webserver.html
use Workerman\Protocols\Http; Http::setCookie(..); Http::sessionStart(); //webserver里sessionStart后才能用$_SESSION $_SESSION... $_SERVER。。。
能用。手册有介绍
http://doc3.workerman.net/advanced/webserver.html
use Workerman\Protocols\Http;
Http::setCookie(..);
Http::sessionStart(); //webserver里sessionStart后才能用$_SESSION
$_SESSION...
$_SERVER。。。