[pmwiki-devel] PostPage in recipe

Patrick R. Michaud pmichaud at pobox.com
Sun Mar 29 13:17:24 CDT 2009


On Sun, Mar 29, 2009 at 04:13:07PM +0200, Peter Bowers wrote:
> On Sun, Mar 29, 2009 at 3:57 PM, Hans <design5 at softflow.co.uk> wrote:
> > > but perhaps I was wrong in that conclusion.  If someone has successfully
> > > run UpdatePage() from config.php I would be very grateful for 
> > > any pointers.
> > 
> > I am not sure what you mean by "running UpdatePage() from config.php".
> > Surely you don't want to call that function with every page load.
> 
> I don't remember the exact scenario...  Maybe trying to log actions & users? 
> But, yes, the desire was to write to a page based on certain conditions 
> within config.php.  Maybe this was trying to set a PTV in a user's 
> profile to indicate their last action along with a timestamp -- I 
> think that was it...

Keep in mind that using UpdatePage on every page request is likely
to run into page locking issues, or at least seriously slow things 
down because things can no longer be processed concurrently.

Pm




More information about the pmwiki-devel mailing list