Re: Use previously requested data in another request

2021-12-04 Thread kayhan
Thankyou 🙏 On Sat, Dec 4, 2021 at 11:33 AM Lalit Suthar wrote: > tried to look into the docs but couldn't find a reason. > you can go through this page to find out any possible reason > https://docs.djangoproject.com/en/dev/topics/http/sessions/ > > On Fri, 3 Dec 2021 at 23:19, kayhan wrote: >

Re: Use previously requested data in another request

2021-12-04 Thread Lalit Suthar
tried to look into the docs but couldn't find a reason. you can go through this page to find out any possible reason https://docs.djangoproject.com/en/dev/topics/http/sessions/ On Fri, 3 Dec 2021 at 23:19, kayhan wrote: > Thanks but I did not change the settings. > And to test, SESSION_COOKIE_AG

Re: Use previously requested data in another request

2021-12-03 Thread kayhan
Thanks but I did not change the settings. And to test, SESSION_COOKIE_AGE = 5 * 60, I added to the settings but there is still the same problem. On Fri, Dec 3, 2021 at 8:55 PM Lalit Suthar wrote: > We can save that in any django model in ajax() request if possible. > > You can check if you hav

Re: Use previously requested data in another request

2021-12-03 Thread Lalit Suthar
We can save that in any django model in ajax() request if possible. You can check if you have modified `SESSION_COOKIE_AGE` ( https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-SESSION_COOKIE_AGE ) if it is too less that might be the reason. On Fri, 3 Dec 2021 at 16:15, kayhan wrote

Use previously requested data in another request

2021-12-03 Thread kayhan
Hi I first send a request to Django and save its data with a session. I will send another request to Django later. Here I want to use the data of the previous request. But my code does not work properly. And the value "None" appears in the output. Does anyone know what I should do? Thankful def