[Zope] Redirecting with Parameters

Kevin Carlson khcarlso@bellsouth.net
Mon, 20 May 2002 09:02:56 -0400


You could add them to the URL.  For example:


redirectString = "%s?param1=%s&param2=%s" % (
"http://www.whateversite.com/url", param1Value, param2Value)

RESPONSE.redirect(redirectString)



That way you could access them in the "please wait..." page and do whatever.

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Daniel.Dunbar
Sent: Monday, May 20, 2002 7:19 AM
To: zope@zope.org
Subject: [Zope] Redirecting with Parameters


Hi

I'm trying to redirect a client request.

I'm using the RESPONSE.redirect ('URL') function and it works fine.  I have
however parameters in a form which needs to be sent along to the redirection
page.

This page is an intermidiate page for pages that load slowly i.e. a page
which reads 'please wait ...'  The parameters are therefore different from
REQUEST to REQUEST.

I appreciate your help on this.

Thanks
Daniel



**********************************************************************
Symbian Ltd is a company registered in England and Wales with registered
number 01796587 and registered office at 19 Harcourt Street, London, W1H
4HF, UK.
This message is intended only for use by the named addressee and may contain
privileged and/or confidential information. If you are not the named
addressee you should not disseminate, copy or take any action in reliance on
it. If you have received this message in error please notify
postmaster@symbian.com and delete the message and any attachments
accompanying it immediately. Symbian does not accept liability for any
corruption, interception, amendment, tampering or viruses occuring to this
message in transit or for any message sent by its employees which is not in
compliance with Symbian corporate policy.
**********************************************************************



_______________________________________________
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 )