比如在后台这么写,Session::set('adminname',$one['username'],'admin'),就带上了admin的作用域,那怎么在前台输出呢?
如果没有作用域就是{$Request.session.session名}或者{$Think.session.session名}这样,
有了作用域,就得这样写{$Request.session..session作用域.session名},就是在前面加上作用域的名称
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!