On Sat, 17 Jun 2000, Richard Bartels wrote:
> Hello,
> I'm sure this is simple, but have not been able to come up with the correct
> way.
Yep, there's always a simple way.. (o8

> If I do this,
> <dtml-call "FSSession['username'].update(REQUEST.form)">
> and then retrieve with,
> FSSession['username']
> I get {'username':'something'}
> when of course all I want is something.
What you really should use is something more like:

<dtml-call "FSSession.set('username', REQUEST.form['username'])">

or, as is acceptible MOST of the time (when there is not another object of 
the same name hanging about )  :

<dtml-call "FSSession.set('username', username)">

> Thanks much,
> Rick
No problems.

Have a better one,

<dtml-var standard_work_disclaimer>

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

Reply via email to