Thanks Anthony for your prompt reply. current implementation is that i am
using django orm query to pull the user cart details and cart id(session
key) is the key so when user switch from anonymous
user to actual user then i loses the data came from the query.
so when user gets authenticated then it create new session id then previous
session data we lose. I am not finding much help in google:(.
On Tue, Jun 12, 2018 at 8:37 AM, Anthony Flury <anthony.fl...@btinternet.com
> The only way I can think of is when your user goes to log in - check if
> their session id is already recorded.
> When they login - I assume that they get an new Session Id - and remap the
> data from their old session id to their new session Id.
> Would that work ?
> On 12/06/18 11:01, Siddharth Srivastava wrote:
>> Hi ,
>> i was writing small ecommerce application in django framework. so i was
>> trying to implement add to cart functionality like that if user is
>> anonymous user then selected products should be mapped to it's session id
>> which is act. cart id in models. 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:)
>> 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 <mailto:
>> To post to this group, send email to email@example.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/ms
>> For more options, visit https://groups.google.com/d/optout.
> Anthony Flury
> email : *anthony.fl...@btinternet.com*
> Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*
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 post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.