Any progress on this problem? I've got exactly the same problem with sessions on ubuntu/database- backend sessions. But the most interesting thing that variables like instances of large classes are deleted while simple instances like integers are fine.
class Cart(): items = {} totalPrice = 0 count = 0 company = 0 items variable holds a dictionary of objects (instances of models.Model), other variables are just integer objects. items var becomes empty after some time, other variables are ok. Seems like I am not allowed to hold model instances in session... But why? On Jan 9, 8:29 pm, bradders <kjbqwe...@googlemail.com> wrote: > No this is Linux (SUSE10), runing behind Apache and not filesystem. > > John > > On Jan 9, 1:27 am, Malcolm Tredinnick <malc...@pointy-stick.com> > wrote: > > > On Thu, 2009-01-08 at 05:12 -0800, bradders wrote: > > > I will try to put something together. I have a fairly detailed trace > > > that I have put in thesessioncode that shows mysessionvariables > > > are set when it calls one of my views, but the trace shows that the > > > nextsessionsave only a newsessionvariable set in that view exists > > > all the othersessionvariables have disappeared. I am not knowingly > > > clearing the other variables. > > > By the way, are your using Windows by any chance and the > > filesystem-basedsessionbackend? I remembered later last night that > > there is one bug due to problems in the Windows filesystem (#9084). > > > Regards, > > Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---