--On 24. Februar 2006 12:49:48 +0000 "Robert (Jamie) Munro" <[EMAIL PROTECTED]> wrote:

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?

Did you consider reading the whole SESSIONS chapter in the Zope Book 2.7 edition?


Attachment: pgpTdBAEirO92.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to