Hi Shuo, You have plenty of options:
You can try the following: 1) SWFTrack - tracking hits on Flash sites 2) SWF Tracker and Traffic Monitoring for Flash Content :: MochiBot.com 3) Using Google Analytics with Adobe Flex app by Iconara 4) Omniture Tracking in AIR Applications by Michael Ritchie (Thank's Mister blog) All links can be accessed from my public del.icio.us bookmarks: http://delicious.com/jabbypanda/hits On 11/01/2010, Fotis Chatzinikos <[email protected]> wrote: > On the server increment the user count on session create and descrement it > on session destroy. Your client can then simply display this variable. > > On Sun, Jan 10, 2010 at 7:09 AM, happyhy2005 > <[email protected]>wrote: > >> >> >> Hey guys, >> >> I want to write a module that count online user and record user visits. >> >> I'm using Cairngorm,it seems to me when user open the Application,I should >> dispatch an event,and increase onlineCount stored in ModelLocator,get the >> visits number from DB and increase 1.When user leave the >> Application,decrease onlineCount and update the visits number from DB. >> >> I know there's a life cycle in ASP.NET and could easily implement this >> function in Global.asax,using >> Application_Start,Application_End,Session_start and Session_End event. >> >> Is there any similar way to do that in Flex? >> >> What's the best routine to implement online count and user visits? >> >> Thanks in advance,Shuo >> >> >> > > > > -- > Fotis Chatzinikos, Ph.D. > Founder, > LivinData Technologies > www.styledropper.com > [email protected], > -- -- Best regards, Andriy Panas

