On Thu, 2003-09-11 at 11:40, Dylan Reinhardt wrote:
On Thu, 2003-09-11 at 11:34, Alexander Alvarado wrote:
Hi, this is adum question, but how can I include variables in the redirect expresion, I want to redirect to a page and at the same page send the variables what I want is something like this:
<dtml-var expr="RESPONSE.redirect('Disponibilidad?Arrival=The_value&Departure=The_value')">
Where The_value is a date sent from an other page...
Assuming that Disponibilidad resolves to a full URL (with http://) and The_value can be acquired, what you have should work.
Sorry... I misread what you have. Here's what I think you want: <dtml-var "RESPONSE.redirect( '%s/Disponibilidad?Arrival=%s&Departure=%s' % (URL, The_value, The_value) )"> HTH, Dylan