On dinsdag 12 juni 2018 12:01:32 CEST Siddharth Srivastava wrote:

>  so the scenario is that whenever anonymous
> user check out and mapped data against that session id is purged. Is there
> any mechanism to save anonymous user session data even after user logs in.
> kindly provide easy possible solution as i am bit new to django:)


Well, the easy solution is to follow the documentation[1]:

        Note that any data set during the anonymous session is retained in the
        session after a user logs in.

-- 
Melvyn Sopacua

--------
[1] 
https://docs.djangoproject.com/en/2.0/topics/auth/default/#how-to-log-a-user-in

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1614496.8M6cUJZ5yO%40fritzbook.
For more options, visit https://groups.google.com/d/optout.

Reply via email to