用uuid用作session键,每次都是新的 import uuid # 生成一个新的UUID作为state的键 state_key = str(uuid.uuid4()) request.session[state_key] = state_value
阅读量:1
点赞量:0