20 Sep
2004
20 Sep
'04
1:35 a.m.
On Sun, Sep 19, 2004 at 10:10:15AM -0700, Jason Leach wrote:
Is their an easy way to search for a var in REQUEST? In my ZPT I have a look in REQUEST.SESSION, options and REQUEST.form for a var; it can get passed in several ways depending on what calls the ZPT.
I would like one clean way. Not three conditions in my ZPT.
You don't have to. The HTTPRequest class (or maybe one of its base classes) automagically combines all its categories, so request/foo should work regardless of whether it's in session, options, form, other... -- Paul Winkler http://www.slinkp.com