跳到主要内容

get_session

取得会话

声明

object get_session(Request self, bool create_if_not_exists = false)

参数

参数名描述
self
create_if_not_exists为true时,当会话不存在时创建新的会话

返回值

使用方式

返回文档