[Zope] Form POST question (and a QUERY_STRING Q.)
Marcus Collins
mcollins@sunesi.com
Thu, 1 Jun 2000 14:46:48 +0200
Hi,
There was a thread a week or so ago about passing POSTed variables after
authenticating, some of which will be useful -- see the archived message,
suggestions and caveats at:
http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687
f0024bb5f/3e46f2835c820eae802568eb002c802a?OpenDocument
Regarding your second question, REQUEST.QUERY_STRING works for me using
Zope; maybe someone else has some pointers regarding its use in "the old
bobo fashion" with which I'm not too familiar.
hth,
-- Marcus
> -----Original Message-----
> From: Yosef Gold [mailto:yosef@adsc.com]
> Sent: 01 June 2000 12:50
> To: zope@zope.org
> Subject: [Zope] Form POST question (and a QUERY_STRING Q.)
>
>
> I use Zope in the old bobo fashion. I have a homegrown session
> management class that I use. When a session is idle for a long
> while, I ask the user for his password again before allowing him to
> continue. Generally, I then use the URL from the REQUEST object and
> RESPONSE.redirect() to send him where he was trying to go after he
> reenters his password (he never got there because I gave him a
> session timeout screen instead). This works well except in one
> case. If a user submits a form that uses POST to send it's data, I
> am not forwarding the posted data and so I get a Zope error that a
> parameter is missing.
>
> Is there a way for me to get the raw posted data and forward that too
> via the RESPONSE object?
>
> A seperate small side question. I thought that all the paremeters
> after the "?" in an URL or a submitted form (using GET) are put into
> the QUERY_STRING variable within the REQUEST object. I don't see
> this variable there at all. Can someone explain when/where this
> variable is set/sent .
>
>
> Thanks,
> Yosef
>
> --------------------------------------------------------------
> --------------
> -----------
> Yosef Gold (yosef@adsc.com)
> --------------------------------------------------------------
> --------------
> -----------
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>