Hello, I'm sure this is simple, but have not been able to come up with the correct way. 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. Thanks much, Rick --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy.
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, Curtis <dtml-var standard_work_disclaimer>
participants (2)
-
Curtis Maloney -
Richard Bartels