RMS: Roxen Modules and Scripts
News l Modules l TechInfo l FAQ/HOWTO l RoxenProviders l Discuss l
Login :
Don't have an account? Register Forgot your password? Retreive
Benefits of Registering * Privacy Policy

Modules and Scripts: Module Information

Delay SQL ( 113 )
Author: Jeff Hungerford ( hungerf3 at house dot ofdoom dot com )
License: GPL   Roxen Version: Roxen 2.2
Rating: 1 Pikes Click for information about ratings. (Coming Soon!)

delay_sql creates a tag <delaysql> that works in a similar manner to the Roxen <sqlquery> tag, with the difference that <delaysql> passes the query to a background task, for later execution after the page has been sent to the viewer.

An example of how it could be used is <delaysql host='db' query='update counters set visits=visits+1 where id=&form.id;'> to update a counter of pageloads in a database without delaying the returned page.

delay_sql does not use a callout - it submits the query to the Roxen background task queue so that it doesn't block or interfere with anything else on the webserver.

Last updated July 21st 2003. Owned by hungerf3.

Module Links:

[ download ]   [ homepage ]  


[ Database ]   [ Tags ]   [ Scripting ]  

Comments on this Module:

    No comments found.
[Post a comment]

Comments? Questions? < rms@riverweb.com >
visitors since .
This page last updated May 2003.
Riverweb Logo RMS is hosted by Riverweb Internet Commerce
Copyright © 1998 H. William Welliver III
This site is powered by Roxen Challenger 1.3 and mySQL.