max_age doesn't work on mobile phone
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have been trying to use persistent sessions (cookies) on a mobile phone and never got it to work.
When I change settings.SESSION_EXPIRE_AT_BROWSER_CLOSE = False cookies stops to work on the phone.
After digging down I noticed that it's setting max_age that brakes it on the phone.
When setting expire to desired and max_age=None in process_response (SessionMiddleware) it works.