Dean & Deb Ekstrand wrote:
> I'm trying to figure out Zope (on a time crunch, too), and I'm wondering how
> to do something. How can I access HTTP variables in my DTML code?
> Specifically, I want to return code specific to the user's browser. I know
> that HTTP has provisions for determing browser version, are those accessible
> in DTML and how? If they are not accessible in DTML, is there a workaround
these variables are part of the REQUEST namespace.
Specifically you can do
<dtml-var "REQUEST.HTTP_USER_AGENT"> to display the browswer
version. Creating conditional code is left as an excersize
for the student.
If you want to display a complete list of all HTTP REQUEST
variables, try this:
> Another quick question: I see that Zope 2.3 will have "Script" objects.
> What's the closest I can come in Zope 2.2.5?
The Python Method product:
Or external methods:
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -