[web2py] Re: Replacing session.var with another value

2012-07-26 Thread adohertyd
Cliff you are correct that was a typo in my original question. If you look at my code you can see that I am using session.variable_name in all other cases. This is how I want to do it. But my original question still remains. On Thursday, 26 July 2012 16:15:56 UTC+1, Cliff Kachinske wrote: > > Th

[web2py] Re: Replacing session.var with another value

2012-07-26 Thread Cliff Kachinske
The dot notation for session.vars.a is not going to work. It's true that session is a Python object and you can assign attributes to it, but vars is not a Python object. Thus you cannot assign attributes to it. For this case, it would be simpler to just use something like session.user_input

[web2py] Re: Replacing session.var with another value

2012-07-26 Thread adohertyd
My problem is I don't know how to put it all in one function. Would be be able to give me some pointers please? Would really appreciate it. On Thursday, 26 July 2012 14:29:00 UTC+1, Anthony wrote: > > It will probably be easier if you do it all in one function, and in the > view, conditionally s

[web2py] Re: Replacing session.var with another value

2012-07-26 Thread Anthony
It will probably be easier if you do it all in one function, and in the view, conditionally show results if there are any. Anthony On Thursday, July 26, 2012 8:43:33 AM UTC-4, adohertyd wrote: > > Hope you guys can give me a hand here. I have two central functions in my > controller: index() an