Re: session modification question

2014-01-20 Thread ernando
Hi, I agree with Daniel that your case of using session is incorrect. You have to think about session as a simple dictionary that stores data through requests. And it doesn't keep track about protecting data from changing - you should think about it yourself. Believe, you have to think about so

Re: session modification question

2014-01-18 Thread Daniel Roseman
On Saturday, 18 January 2014 17:11:56 UTC, Spork Spork wrote: > > Hi, > > I have a question about what gets persisted when session data gets > updated. I've read the sessions chapter of the book, and it's not entirely > clear to me. > > Say I have two keys in the session object that I'm manipulat

session modification question

2014-01-18 Thread Spork Spork
Hi, I have a question about what gets persisted when session data gets updated. I've read the sessions chapter of the book, and it's not entirely clear to me. Say I have two keys in the session object that I'm manipulating in a view: view1: request.session['foo'] = 'foocontent' view1: request.