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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to