Yes, you are right! I was creating the session variable in the View,
not in the Controller.
Oh, poor me! This is my ASP background. There I can create a session
variable anywhere.
Thanks.

ionel


On May 13, 12:02 am, Thadeus Burgess <[email protected]> wrote:
> session['fav_color'] = "blue" works just fine.
>
> session is just a gluon/storage.Storage() class. which is a subclass
> of "dict" and it only provides an extra method to give you the
> attribute access to make things easier. Otherwise works exactly like
> any other python dictionary.
>
> You can use the session object EXACTLY like in django.
>
> You CAN create dynamic session variables just as long as your keys are
> valid in that use... your just doing something wrong, may we see your
> code that is causing the exception?
>
> --
> Thadeus
>
> On Wed, May 12, 2010 at 10:48 PM, ionel <[email protected]> wrote:
> > r frameworks and django also do th

Reply via email to