New topic: Push Browser Refresh - WEB APP
<http://forums.realsoftware.com/viewtopic.php?t=47602> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message p0wn3d Post subject: Push Browser Refresh - WEB APPPosted: Mon Apr 15, 2013 10:38 am Joined: Sun Oct 28, 2012 4:54 am Posts: 204 Location: Herts, UK Hi, I have a listbox control displaying database records. My database gets updated every 5 minutes with new or amended data. How can I push the changes to all connected sessions? Thanks _________________ Real Studio 2012 R2 SysInfo BackTrack Linux/BackBox Linux/Debian Lenny/Windows 7/Windows 8/OpenWRT/OpenBSD & Yes it's me in the Avatar Top Jason_Adams Post subject: Re: Push Browser Refresh - WEB APPPosted: Mon Apr 15, 2013 11:43 am Joined: Fri Nov 10, 2006 4:10 pm Posts: 1772 Location: Michigan, USA The easiest way to do it, and especially if you know it's every 5 minutes, would be to use a timer. You could either have a timer in the App or Session (depending on if you want them independent or not). I assume you'd leave the Timer.Mode on Multiple, and repopulate the listbox each time it fires. Hope this helps. _________________ Windows 7 Ultimate x64 Windows XP Pro SP3 Ubuntu 11.04 via Virtual Box RS Enterprise 2012r1.1 Programming Tutorials & Free Projects: http://www.JasonTheAdams.com "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
