[ZPT] request/xxx & request/form/xxx

Evan Simpson evan@4-am.com
Wed, 03 Apr 2002 09:18:08 -0600


hans wrote:
> "Wolfgang Klinger (mokka)" wrote:
>>what's the difference between request/xxx
>>and request/form/xxx to get the value of xxx?
> 
> except for name/accesspath: None.
> both point to the same object.

Not quite; if you request.set() a value for xxx, it will override 
request/xxx but not request/form/xxx.  In general, request/xxx searches 
each of request/other, request/cookies, and request/form for 'xxx'.

Cheers,

Evan @ 4-am