状态保持session

request.session.set_expiry(0)
原文地址:https://www.cnblogs.com/sdosun/p/13767441.html