Re: Session variables
No this is Linux (SUSE10), runing behind Apache and not filesystem. John On Jan 9, 1:27 am, Malcolm Tredinnick 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 -~--~~~~--~~--~--~---
Re: Session variables
I will try to put something together. I have a fairly detailed trace that I have put in the session code that shows my session variables are set when it calls one of my views, but the trace shows that the next session save only a new session variable set in that view exists all the other session variables have disappeared. I am not knowingly clearing the other variables. Thanks for your interest. John On Jan 8, 10:34 am, Malcolm Tredinnick wrote: > On Thu, 2009-01-08 at 02:30 -0800, bradders wrote: > > Can anyone recommend a session system that works more reliably than > > the built-in Django session handling? I am finding that after calling > > 2 or 3 different views the session variables that were stored at login > > time get cleared. I am using django 1.0, but I think the problem > > existed in earlier versions. > > Perhaps if you could provide a replicable test case we could look at > whatever problem may exist in the Django system. To the best of my > knowledge it doesn't just arbitrarily throw away variables, but there's > not way to tell what you're doing from the description you've provided. > > 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 -~--~~~~--~~--~--~---
Session variables
Can anyone recommend a session system that works more reliably than the built-in Django session handling? I am finding that after calling 2 or 3 different views the session variables that were stored at login time get cleared. I am using django 1.0, but I think the problem existed in earlier versions. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Redirect parent from within iframe without losing session
I am getting a very similar problem when simply going between views (all within the same domain), so it may be nothing to do with iframes. I have put in a trace and can see that in some cases you enter the view with all session variables set and when the session is next saved all the variables have been cleared. On Jan 5, 10:57 pm, Berco Beute wrote: > This one still has me flabbergasted. It may be a browser restriction > (firefox 3), but there is no way I can have the iFrame redirect the > parent page to another page in the same domain (as the previous parent > page) without invalidating thesession. Is there maybe another common > solution for iFrames to give back control to the parent page? > > 2B > > On Jan 5, 10:43 am, Berco Beute wrote: > > > The iFrame is from a different domain, which is likely causing the > > problem. I can see that thesessionis lost since the logged in user > > is suddenly logged out. > > > 2B > > > On Jan 5, 1:15 am, Daniel Roseman > > wrote: > > > > Personally, I can't see how that redirect could be causing asession > > > to be 'lost'. As long as you stay within the same domain, yoursession > > > should remain valid. Are you sure that you are using 'localhost:8000' > > > as the original address as well as the redirected one? How are you > > > ascertaining that thesessionis being lost? > > > -- > > > DR. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---