On Mon, Jul 21, 2008 at 03:04:14PM -0400, Zach Beane wrote:
Hunchentoot will pick up on only one of them, i.e. (get-post-parameter "foo-or-bar") will be either "foo" or "bar" but not both; it should be both.
I disagree (though I'm not sure exactly what you mean by GET-POST-PARAMETER, which isn't a part of Hunchentoot I've ever seen). If you need multiple parameter values for a given name, you can pick them out of the POST-PARAMETERS alist easily enough:
(defun post-parameters (name) (let ((alist (tbnl:post-parameters))) (loop for ((key . value)) on alist when (string= key name) collect value)))
Woops, I meant (post-parameter) of course. But yes, that makes more sense.
Thanks,
Jaap