保存

\Phpcmf\Service::C()->session()->set('变量名称', '变量值');


读取

\Phpcmf\Service::C()->session()->get('变量名称');