I think you found a bug. This bug was introduced recently as result of optimization. I will fix it today and it will be gone by the next stable release.
On Sunday, 9 December 2012 12:22:34 UTC-6, simon wrote: > > How do I clear the session storage object? > > Controller as below. Call setsession and it sets session.temp and shows > all the session variables. If I call clearsession then it shows a page > with an empty storage object as if it had cleared the session object. > However if I then call showsession then it shows the original session > variables. > > > def setsession(): > session.temp="ggggggg" > return dict(session=session) > > def clearsession(): > session.clear() > return dict(session=session) > > def showsession(): > return dict(session=session) > --