Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通过导入cherrypy创建了一个如下的会话
cherrypy.session['otp_status']=1
但是当我尝试按以下方式检索它时
otp_status=cherrypy.session['otp_status']
表明
KeyError: 'otp_status'
如何从会话中获取价值?
你确定你的服务器时间是准确的吗?