Hello guys, Solved it after tons of trial and error. I don't know if it is a bug in Python or in my code (this should be most likely!). I've attached my python script - you can run it from command line. Problem happens where I've marked "ALERT". It works now, but if you take out the default paramater there, it doesn't - it is as if older values left by previous function call is taken. -vsb "Saying Windows XP is the most stable Windows is like saying asparagus is the most articulate vegetable" - Dave Barry -----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: Wednesday, January 16, 2002 2:44 PM To: sbabu@tnc.org Cc: zope@zope.org Subject: Re: [Zope] Help! Disabling caching for external method Satheesh Babu writes:
.... However, whenever I try to call it from a DTML method, the results I get back are (I think) cached ones, regardless of the URL1 I'm passing to it. The results of External Methods are not cached (at least not by the External Method (or Zope)). You must have a different problem.
The problem may well be caching -- by the browser. You can usually detect this, when you call "reload" with the "Shift" key pressed. When this gives you the correct anwser, then the problem was caused by HTTP caching. There is a HowTo on Zope.org explaining how to control (HTTP) caching. Dieter