[Zope] Storing things in the session from ZPT

Robert (Jamie) Munro jamie at textmatters.com
Fri Feb 24 07:49:48 EST 2006

How can I put something in a session from ZPT?

I've tried:

<div tal:define="session/foo request/foo">
<div tal:define="foo python:session['foo']=request['foo']">

Do I really have to write a python method just to assign a single value?

Robert (Jamie) Munro

More information about the Zope mailing list