Session data corrupted in django

后端 未结 4 419
旧时难觅i
旧时难觅i 2021-01-17 08:02

Every time when I\'m going to my signup page, I\'m receiving this error

Session data corrupted

when I\'m trying to signup anyway, POST re

4条回答
  •  迷失自我
    2021-01-17 08:32

    You are getting this error because of this line: https://github.com/django/django/blob/master/django/contrib/sessions/backends/base.py#L109

    Apparently, there's something went terribly wrong with encryption of session data.

    How to fix it? I'm not sure, I have a couple of ideas though:

    • Do you use a custom session class?
    • Do you use your Django session in another project?

提交回复
热议问题