"Fabri" <no@sp.am> wrote
rf wrote:
[CUT]
Why not just cause the server side form handler to return, say, a 204,
there is no new information to send back? That way the existing page will
remain.
Can you give us an example please?
You are probably better off asking over in the server side groups. alt.php,
comp.lang.php, or whatever flavour of server side stuff you use.
Here is a minimal PHP example:
In your "page"
<form action="updatedatabase.php" ...>
....
In updatadatabase.php:
<?php
header("HTTP/1.0 204 No Response"); // terminates this HTTP request
// do stuff with the data sent up by the form
// do not output any "content" for this request. That is, no html.
// the sole purpose of this "page" is to update a database or something.
?>
Google for: php 404 header
--
Cheers
Richard.