# AS3 & MySQL: Listening

**URL:** <https://forum.kirupa.com/t/as3-mysql-listening/301717>\
**Category:** flash\
**Created:** [December 14, 2009, 6:35pm UTC](https://forum.kirupa.com/t/as3-mysql-listening/301717 "2009-12-14T18:35:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esseti](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Post date:** [December 14, 2009, 6:35pm UTC](https://forum.kirupa.com/t/as3-mysql-listening/301717/1 "2009-12-14T18:35:08Z")

</div>

Whats the best way to make a ‘live update’ visit counter? For example: One person opens the site with the visit counter, and as soon as another one visits, the counter updates on the first users screen.  
I know that I could query a record every few sec, but it seems not optimal. I rather would like a listener for the record.
