|
Posted by Mitja on 06/18/05 14:55
On Sat, 18 Jun 2005 11:57:27 +0200, Cranio <cranio_noSp4m_@quipo.it> wrote:
> "<A HREF='" + Request.ServerVariables("URL") + "?" + pk + "=" + pkvalue
> + "'" ... +"</a>
>
> Works for GET ... but what about POST data?
Yep, POST is a problem with no easy solution. Sometimes the easiest thing
to do is to change the architecture of your program in such a way that it
only need GET (or at least only need GET in situations where links like
the one above are desired). This is not as hard as it seems: the only
thing at which POST is better is sending large chunks of data, and where
do you objectively have to send large chunks of data with a single link
and no elements with user-input data?
Alternatively, you can provide a button instead of a link to get the POST
functionality, but you know that.
Or you can keep trying with JS, but I'm afraid I am no expert at that. I
thought what David provided worked - have you tried it?
Navigation:
[Reply to this message]
|