The old way to do this was via "Channel Definition Format" (it appeared in
IE 4 but it's supported in all other versions as well).

The technology was created to support the Windows 95 "Active Desktop" and
active content.  Here's a very old example I did (for a site that's no
longer active):

<?XML version="1.0"?>
<channel self="http://www.vboston.com/VBoston/VBChannel/picwin.cdf";>
        <schedule>
                <IntervalTime Day="1" />
        </schedule>
        <item href="http://www.vboston.com/VBoston/VBChannel/picwin.cfm"; >
                <title>Virtually Boston Picture Window</title>
                <usage value="DesktopComponent">
                        <Width Value="325" />
                        <Height Value="375" />
                </usage>
        </item>
</channel>

This page would have a "CDF" extension and, when clicked, will ask how you
want to treat the synchronization and such.  I believe (but am not sure)
that the "usage" value could be changed to something else to do something
closer to what you want.

I've used a frames solution like you describe in the past as well and it's
worked pretty well for me.  In my case I hit the database on a schedule
(every five or ten minutes, but only when people were logged in) and got
only the new events from the last period - then I looped through the session
caches for the active users and placed a flag.

The users each had a frame to check for updates, but would only check for
this flag (a very quick, fast request).  Doing this should, at least,
normalize your DB activity even if it doesn't reduce it much.

Jim Davis

> -----Original Message-----
> From: Dave Wilson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 19, 2005 9:06 AM
> To: CF-Talk
> Subject: Emulating http server-push to Internet Explorer browsers
> 
> Hi all,
> 
> I was wondering if anybody on the list has ever managed to do this, using
> CF, or any other technologies for that matter. I know that apache has
> server-push available to it, but my research shows that it only works for
> Netscape/Mozilla browsers and that IE simply does not support it.
> 
> The reason I want it is for pushing various event notifications to users
> on
> our systems e.g. calendar reminders, incoming telephone call notices, etc.
> Currently I've just bodged up the mechanism with a hidden frame which
> refreshes periodically and polls the db for new entries and pops up
> relevant
> notification windows where appropriate. This method is proving rather
> expensive, however in terms of both http and db activity.
> 
> The only thing tat springs to mind with me at this stage is some kind of
> java servlet, but am not having much luck in finding anything suitable via
> google. Has anyone got something which may work for this?
> 
> TIA,
> Dave
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191067
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to