easily portable to other applications. Basically you generated content
then use cfflush to push that content to the user, and perform the
NSLookup (however it's performed) after the flush, so it processes
after the user has already received their content. The onTap framework
does this by providing a default flush and a queue of processes to be
executed in the OnRequestEnd.cfm template. If you have concerns about
users refreshing the page and causing unnecessary overhead on the
system, you might want to include a page redirection (meta tag or
_javascript_ - you can't use cflocation after a cfflush tag) in the
content going to the browser. I use the _javascript_ location.replace()
method which is analogous to cflocation in that it replaces the
current entry in the browser's history, allowing the user to use their
back button normally. The onTap framework has this function
encapsulated into a couple of ColdFusion functions which provide some
additional features.
hth
s. isaac dealey 214-823-9345
team macromedia volunteer http://www.macromedia.com/go/team
chief architect, tapestry cms http://products.turnkey.to
onTap is open source http://www.turnkey.to/ontap
> What's the best way to start/call a process in CF and not
> wait for it to
> finish?
> I'm thinking cfhttp but not sure...
> For example:
> A page is called, this page does a NSLOOKUP etc. which
> takes a bit of time,
> but I don;t want to user to have to wait for the process
> to finish, i.e.
> prevent unnecessary delay of the page loading time.
> Taco Fleur
> Blog <http://www.tacofleur.com/index/blog/>
> http://www.tacofleur.com/index/blog/
> Methodology http://www.tacofleur.com/index/methodology/
> 0421 851 786
> Tell me and I will forget
> Show me and I will remember
> Teach me and I will learn
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

