[Zope-dev] getting request variables values

Chris McDonough chrism@digicool.com
Thu, 20 Jul 2000 16:10:55 -0400


Make a DTML method named "req" in your root folder:

<dtml-var REQUEST>

View it and send the contents to the list.

> -----Original Message-----
> From: Leonardo Kenji Shikida [mailto:kenji@intelligenesis.net]
> Sent: Thursday, July 20, 2000 4:05 PM
> To: zope-dev@zope.org
> Subject: Re: [Zope-dev] getting request variables values
> 
> 
> yes, I tryied.
> both attepts gave me this error:
> 
> Error Type: KeyError
> Error Value: SSL_CLIENT_EMAIL
> 
> tips?
> 
> Leonardo Kenji Shikida
> Webmind - Brazil Office
> 
> 
> ----- Original Message -----
> From: Chris McDonough <chrism@digicool.com>
> To: 'Leonardo Kenji Shikida' <kenji@intelligenesis.net>; 
> <zope-dev@zope.org>
> Sent: Thursday, July 20, 2000 4:44 PM
> Subject: RE: [Zope-dev] getting request variables values
> 
> 
> > Have you tried:
> >
> > <dtml-var "REQUEST['SSL_CLIENT_EMAIL']">
> >
> > ?
> >
> > > -----Original Message-----
> > > From: Leonardo Kenji Shikida [mailto:kenji@intelligenesis.net]
> > > Sent: Thursday, July 20, 2000 3:38 PM
> > > To: zope-dev@zope.org
> > > Subject: Re: [Zope-dev] getting request variables values
> > >
> > >
> > > that's the point:
> > > <dtml-var REQUEST>
> > > gives me the value of SSL_CLIENT_EMAIL, that is a HTTPS
> > > environment variable
> > > but trying to get <dtml-var "REQUEST.SSL_CLIENT_EMAIL"> 
> don't work.
> > >
> > > any tips?
> > >
> > > Leonardo Kenji Shikida
> > > Webmind - Brazil Office
> > >
> > >
> > > ----- Original Message -----
> > > From: Jim Washington <jwashin@vt.edu>
> > > To: Leonardo Kenji Shikida <kenji@intelligenesis.net>
> > > Sent: Thursday, July 20, 2000 4:18 PM
> > > Subject: Re: [Zope-dev] getting request variables values
> > >
> > >
> > > > Leonardo Kenji Shikida wrote:
> > > > >
> > > > > does not work with
> > > > >
> > > > > >>>>>>>>>>>>>>>>>>>>>>
> > > > > <dtml-var standard_html_header>
> > > > > <h2><dtml-var title_or_id></h2>
> > > > > <dtml-var "REQUEST.SSL_CLIENT_EMAIL">
> > > > > <dtml-var standard_html_footer>
> > > > > >>>>>>>>>>>>>>>>>>>>>>
> > > > >
> > > > > why?
> > > >
> > > > What does <pre><dtml-var REQUEST></pre> give you?
> > > >
> > > > It will fail if SSL_CLIENT_EMAIL does not have a value (or
> > > is bank) in
> > > > the submitted form.
> > > >
> > > > -- Jim
> > >
> > >
> > > _______________________________________________
> > > Zope-Dev maillist  -  Zope-Dev@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope-dev
> > > **  No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope )
> > >
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>