On Tue, 19 Feb 2002, Andrew Parker wrote:
> I noticed that the cache was saying that the XSP had not changed, and so
> the script was not rerun. Although this is correct, in a sense, it
> should run the script if data is being posted. So I did this to XSP.pm:
>
> --- XSP.pm.old Tue Feb 19 11:54:59 2002
> +++ XSP.pm.new Tue Feb 19 11:58:37 2002
> @@ -81,6 +81,7 @@
> if (exists($cache->{$key})
> && !$xml->has_changed($cache->{$key}{mtime})
> && defined &{"${package}::handler"}
> + && !($r->method() eq 'POST') #want to rerun on a post
> )
> {
That's incorrect - it recompiles your XSP page on every POST request.
Something fishier is going on I'm afraid.
--
<!-- Matt -->
<:->Get a smart net</:->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]