Cannot modify existing sessions using signed_cookies backend

2020-07-03 Thread Krishna Chaitanya
Hi Guys, I am using sessions in my webapp, and don't want to use a db/file backends as my device has small storage, so, using signed_cookies backend, I need to store and modify per-session data across places and use the session_key to lookup, modify and then save. But every save creates a new

Unable to modify Session with signed_cookies backend

2020-07-03 Thread Krishna Chaitanya
Hi, When I try to modify a session when using signed_cookies backend it creates a new session which voids the purpose as I am using session_key as a shared data structures across views/functions. Is this expected or a bug? I am using 1.11 (default on ubuntu 18.04, can't update as pip isn't al

Re: Unable to modify Session with signed_cookies backend

2020-07-04 Thread Krishna Chaitanya
pip installed. > On Friday, July 3, 2020, Krishna Chaitanya > wrote: > >> Hi, >> >> When I try to modify a session when using signed_cookies backend it >> creates a new session which voids >> the purpose as I am using session_key as a shared data structures a

Re: Django shared-cache for in-memory SQLite3 is not working

2020-09-25 Thread Krishna Chaitanya
On Sat, Sep 26, 2020 at 1:20 AM Krishna Chaitanya wrote: > > Hi, > > I am using Django 1.11 (default on 18.04). But I am still seeing > https://code.djangoproject.com/ticket/12118 which is fixed in 1.8. > > models.save() in a thread is not being committed and not reflected in