The issue seems to show up at random times. For example about an hour after my email it started to work and has for the rest of the day. I am using firefox and it will be the only browser it will use unless of course it doesn't have the same sessions in the same window. :D It is very very weird. I only use one page for the calls, (I make sure of that) and both read data, even with this I will get the defaults as follows: This is printing session.keys() as the beginning of my default.py ['auth', 'time_left''] ['auth', 'time_left'', 'Another_one','Another_one','Another_one','Another_one','Another_one','Another_one','Another_one',] This is each time it reloads the page. (About every 2 seconds.) BR, Jason Brower
On Tue, Sep 21, 2010 at 3:28 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > You mean you operate two browser windows accessing the same > application at the same time. They should share the session but this > may be browser dependent. Which one do you use? > > Execept in the case GAE sessions are locked when accessed which means > there can be no corrupton of data. In the case of GAE, the session is > in DB and for speed reason there is no locking mechanism. You cannot > have corruption but if two browser windows access the same session > concurrently, the last one to save may override any data stored by the > first to save. > > Massimo > > On Sep 21, 3:05 am, Jason Brower <encomp...@gmail.com> wrote: >> Perhaps I was wrong, but I thought that a session was for a perticular >> browser and not for a particular screen. >> It seems that the session data is there, but is sometimes lost. It's >> very weird. >> I have one window that makes a call to update all the session data every >> 2 seconds. On another window I am using some of that setting data and I >> have it retrieving that session data every 2 seconds or so... When I am >> reading it I sometime get errors saying things that show there is no >> session data. For example, it can't iterate over a NoneType object. Is >> there any reason while the session data could come and go like this? >> Sometimes I even have a large list in session and it will reset the >> entire list! >> BR, >> Jason Brower