为什么django+mongo在windows上session能够获取到,同样的程序在linux上就会报session的变量错误,keyerror?

settings:SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

其它地方:正常存取值。request.session["mm"]=“MM”

 

posted @ 2015-01-08 16:15  Eiffel——*  阅读(293)  评论(0编辑  收藏  举报