Daniel: Thanks again. The session worked! I used dbase backend and got it to work perfectly. Thank you. anirM
On Thursday, October 4, 2012 6:23:36 AM UTC-4, anirM wrote: > > Hi Daniel you guys are phenomenal! I did not expect you would be willing > to help looking in to the code. I will soon update this post with some > stripped down code. But, I do not know about session and may be I should > try that first. In any case, I will return soon. Thank you!!!! > anirM > > On Thursday, October 4, 2012 6:18:52 AM UTC-4, Daniel Roseman wrote: >> >> On Thursday, 4 October 2012 11:12:42 UTC+1, anirM wrote: >> >>> Hi: >>> >>> Thanks for your help. I am new here. >>> >>> I have two iframes and a common data model. On one frame I perform query >>> on the data and create a list/array which is then pushed via an URL and >>> view on to the other iframe for processing and display. Because they are in >>> different frames, I am using different view functions. But, as the first >>> query is done, I populate a first_frame_view.search_list array that I >>> expect to be available (via the same views.py) to the other iframe in its >>> view function if I refer it the same first_frame_view.search_list. That's >>> exactly the behavior I get on development server from django (runserver), >>> but mod_WSGI returns unpredictable stale copy of the search_list. Could you >>> please suggest an alternative or a fix. Thanks in advance. >>> anirM >>> >> >> How can we suggest a fix if you don't provide any code? I'll take a >> guess: you're storing something at the module level. That sounds like an >> extremely bad idea, as not only will it be visible to the other frame, but >> also to all other users who happen to be served from the same process. Use >> a session, that's what they're for. >> -- >> DR. >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/zjGCQ2ybfGcJ. 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.