House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Adobe Flex

dispatch events across session

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

dispatch events across session

----- Excess quoted text cut - see Original Post for more ----- Dave Watts 05/09/2008 01:03 PM
Hey guys, Jaysheel Bhavsar 05/09/2008 07:05 AM

05/09/2008 01:03 PM
Author: Dave Watts Short Link: http://www.houseoffusion.com/groups/flex/thread.cfm/threadid:1666#5221 ----- Excess quoted text cut - see Original Post for more ----- You can do this with the Messaging component of LCDS, which is included with CF8. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/
05/09/2008 07:05 AM
Author: Jaysheel Bhavsar Short Link: http://www.houseoffusion.com/groups/flex/thread.cfm/threadid:1666#5218 Hey guys, I am pretty much a new bee at flex and action scripting. I am creating a web app, and one of the requirements is that it has a messaging system. Not chat session, but something similar to email. use case: user A and B are logged at two different location. But are unaware if other is logged in or not. User A would like to send A message to B, so a types up a message and sends it, the message is saved in the DB, and User A dispatches an event. If B is logged in then its is listening for an event, and hence will know there is a message waiting. Else when B logs in, it adds an eventListner for any message, and at the same time fetches all unread messages from the DB. Any idea how i can dispatch and listen for event across sessions? I know the other way would be to dispatch an event every few mins that Query's DB for any unread messages, but one I don't want to do a "busy waiting" on it, secondly if thats the only way how can I setup an event that is dispatched on clock tick? Thanks for your help. p.s I am using RPC and Coldfusion 8 to interact with my MYSQL 5 DB
<< Previous Thread Today's Threads Next Thread >>

Search flex

May 25, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference