# Best practise for data exchnge Flash Lite 2.0?

**URL:** https://forum.kirupa.com/t/best-practise-for-data-exchnge-flash-lite-2-0/186151
**Category:** flash
**Created:** [April 19, 2006, 2:04pm UTC](https://forum.kirupa.com/t/best-practise-for-data-exchnge-flash-lite-2-0/186151 "2006-04-19T14:04:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![devinstar](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@devinstar](https://forum.kirupa.com/u/devinstar)
#### Post date: [April 19, 2006, 2:04pm UTC](https://forum.kirupa.com/t/best-practise-for-data-exchnge-flash-lite-2-0/186151/1 "2006-04-19T14:04:21Z")

</div>

Hi all,

At present I am using LoadVars to communicate between Flah Lite and my server is there a better way? I am building an applciation that needs constant information and updates, such as being able to send message to different users. At the moment I am checking all the nesaccary database info using LoadVars. This is called every 1-5secs for the different functions.

This however is far from elegant and also the data charges can add up if the app is running for a long time.

Can I use an socket driven solution? Is this possible with Flash Lite 2.0.

I am using PHP to retrieve info from a MySql database.

Thanks.
