From: David C. W. <da...@wr...> - 2001-12-14 17:33:06
|
Hi, all. I've read the developer's manual online, and I can see a long way to take an existing %ARGS and create a URL with it (looping through the arguments, and creating the URL as I go), but I was wondering if there was a built-in easy way to do this. The reason I want to do this is the following: I have an HTML form that takes a credit card number and a bunch of other parameters, and sends it to a purchase.mason to store in the database. I want purchase.mason to tell the browser to then pull up receipt.mason automatically (instead of purchase.mason doing a server-side compenent call) so that when the user hits "Refresh", they won't be accidentally purchasing the same thing again. But receipt.mason needs all the parameters since it's lazy and doesn't want to hit the database again to pull up the info that could have simply been passed to it via CGI parameters. Does this make sense? So I'm looking for something like this: $m->redirect("receipt.mason",%ARGS) Does this exist? -David Wright (Mason newbie) |