[En-Nut-Discussion] http
Michael Baverso
mbaverso at elcontech.com
Tue Dec 24 21:22:44 CET 2002
Jelle,
Thank you for the reply, much appreciated!
> The first file contains the actions to do (reset the counters in your
case),
> this is the file initially called by the form (button).
> The second file is the file you want to be shown.
> The first file has to have a html-header (?NutHttpSendHeaderBot?)
containing
> "Location: secondfile.html", this makes the browser request the second
file
> automatically, without any of the get parameters.
I do not understand how to do this...would you send any samples you may
have???
>
> PS: POST methods have the ugly habbit (when using Interet Explorer) of
> requesting the users if he wants to resent the information.... (at least
> when using PHP).
>
My browser was doing just as you had said....how annoying is that......
Regards,
----- Original Message -----
From: "Jelle Martijn Kok" <jmkok at youcom.nl>
To: <en-nut-discussion at egnite.de>
Sent: Tuesday, December 24, 2002 4:19 AM
Subject: Re: [En-Nut-Discussion] http
> I don't know if this works for you, but there is a trick to do this, and
> that is to split the page into two files:
> The first file contains the actions to do (reset the counters in your
case),
> this is the file initially called by the form (button).
> The second file is the file you want to be shown.
> The first file has to have a html-header (?NutHttpSendHeaderBot?)
containing
> "Location: secondfile.html", this makes the browser request the second
file
> automatically, without any of the get parameters.
>
> Jelle Martijn Kok
>
> PS: POST methods have the ugly habbit (when using Interet Explorer) of
> requesting the users if he wants to resent the information.... (at least
> when using PHP).
>
> some info on headers: http://www.php.net/manual/en/function.header.php
>
> ----- Original Message -----
> From: Michael Baverso
> To: en-nut-discussion at egnite.de
> Sent: Monday, December 23, 2002 9:54 PM
> Subject: [En-Nut-Discussion] http
>
>
> Does the Ethernut http protocol support the 'post' method for forms?
> The req_query structure appears to be empty when using the post method.
>
> I have a web page with a table and a single button, the button triggers an
> event to clear the totals of the
> RS-232 device I have attached.....that all works fine.....
> but when I refresh the screen the query is resent
> because I am using the 'get' method.
>
> I was thinking the 'post' method would do the trick.
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list