Hi, This is per default in django. The way the logout function works is that it completely clears the session (which is good practice, because you don't want to see anything there after a logout).
Regards, Andréas Den tis 27 okt. 2020 kl 14:28 skrev kawsar sarker <[email protected]>: > Hi, > Nice to be with you here. > I am developing an e-commerce site and there I I used a cart session. For > login i created a own backend session and the session is still alive. But > when I logout , I lost the session and with it the cart items. > > Please help, as I am new with django. > > I appreciate your help cordially. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/53258b17-429c-4260-ad0a-9b224c25cd87n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/53258b17-429c-4260-ad0a-9b224c25cd87n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCdOS9nfu-ZiMTWRvNguZKZbVqL12b7oCG8ecUOGdHQcYA%40mail.gmail.com.

