[EMAIL PROTECTED] wrote:
>
> Clarence,
>
> thank you for your latest issue of "Arachne Minimalist" at Arachne's
> homepage on the mime.cfg secrets. I am tempted to say that the
> second most interesting thing that from time to time happens in
> computer science is a new issue of your column.
Thanks a lot to YOU, Christof.
What's the first ? <GG>
> Everything works smoothly unless I happen to touch the 'R' key.
> The attempt to reload the dgi page fails, because in this case the
> input from the form is missing. So far it seems quite logical. But
> when I tried to fix my batch file for the case of missing input I
> noticed that Arachne does send parameters. Instead of three
> parameters when calling the dgi from the form, in case of reload
> it gets only one, and it is exactly the first character of the
> last input.
You can beat this by using $q instead of $s. In theory, it should
contain the same info that was in the LATEST created $s. If $s is
empty on "R" or "BACK", the last $q is still there.
Theory isn't quite perfect as it is sometimes formatted differently.: (
> My questions:
>
> - when and from what is the $s parameter created?
The $s parameter is created from the contents of the form after the
submit (or whatever) button is pushed.
Exactly when timewise, I can't say without checking the source.
> - is there an elegant way to prevent Arachne from reloading a
> dgi file?
I'll have to think about that. <G>
> - is this this strange behaviour a bug?
If you mean placing part of one variable in $s when the form is blank, it
seems like it WOULD be, but again, let me try a few things first.
- Clarence Verge
--
- Help stamp out FATWARE. As a start visit: http://home.arachne.cz/
- The internet is infected - Windows is a VIRUS !!
--