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
                      )
              {
                  # cached


And now it seems to work.  I don't know if that was the right place to 
do a check like that though.

Andy

Matt Sergeant wrote:
> On Fri, 15 Feb 2002, Andrew Parker wrote:
> 
> 
>>Ok, I ran the page.  First I just loaded the page and then I tried
>>submitting.  The first access is at 11:00:52 and the submit is at
>>11:00:55.  This run is with AxDebugLevel 10 and the
>>Apache::AxKit::Plugins::QueryStringCache plugin loaded(same results
>>without it, though).
>>
> 
> Hmm, the second time through it's as though XSP.pm isn't seeing any
> namespaces on your document the second time through... What version of
> XML::LibXML are you using?
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to