Re: odd behavior with session variable that contains a list

2009-07-31 Thread Margie
Makes perfect sense, thanks for that pointer! On Jul 31, 11:17 am, Alex Gaynor wrote: > On Fri, Jul 31, 2009 at 1:15 PM, Margie wrote: > > > I am seeing some behavior with session that I don't understand.  If I > > have a session variable called recentAddIds that contains a list.  I > > find tha

Re: odd behavior with session variable that contains a list

2009-07-31 Thread Alex Gaynor
On Fri, Jul 31, 2009 at 1:15 PM, Margie wrote: > > I am seeing some behavior with session that I don't understand.  If I > have a session variable called recentAddIds that contains a list.  I > find that if I append to that list, like this: > >   request.session['recentAddIds'].append(newlySavedId

odd behavior with session variable that contains a list

2009-07-31 Thread Margie
I am seeing some behavior with session that I don't understand. If I have a session variable called recentAddIds that contains a list. I find that if I append to that list, like this: request.session['recentAddIds'].append(newlySavedId) Then when I next receive a GET, I find that request.se