[Zope-CMF] Passing Multiple Variables Using RESPONSE.redirect

Mike Doanh Tran mtran@shufflemasterrd.com
Wed, 14 Aug 2002 08:23:16 -0600


Hi All,

Can some one please show me how to pass multiple variables using 
RESPONSE.redirect?  What I want to do is to force users to login before they 
can make any changes to a bug.  So I check to see if the user is 
authenticated, if not then I will redirect them to the login page with the 
came_from variable == to the user's requested page.  That way after they are 
login they can be redirected to their previous request with correct variables 
passed.     

dtml-call 
expr="RESPONSE.redirect('login_form?came_from=/bugzilla/editBug?id='+bug_id)">

-bug_id is an integer.

I got the following Zope error:

Error Type: TypeError
Error Value: cannot add type "int" to string

Does anyone have any ideas on how i can make this work?

Thanks for any suggestions,

Mike
--