So, basically I would set a session variable which would tell my app to
keep polling the server with Ajax until it found that the report had
completed.

Hmm.... that could work.  <scratches chin while thinking...>

~Brad

-----Original Message-----
From: Christopher Jordan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 21, 2006 11:04 AM
To: CF-Talk
Subject: Re: No, I'll call you...

This probably isn't what you want either, but...

You could have your report program write to a table when it's complete. 
The record would consist of who needs to be notified, and the status of 
their notification. Maybe the session ID or some session variable could 
be stored.

Then you could have a javascript function that you include at the top of

every page (like from the Application.cfm) that fires off an ajax call 
to check this table for the presence of finished jobs that belong to the

current session or user or whatever.

Does that sound feasible?

Cheers,
Chris


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264756
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to