Re: [flexcoders] Flex:how to count online user and record user visits?

2010-01-12 Thread Andriy Panas
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 fotis.chatzini...@gmail.com 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
 happyhy2...@yahoo.com.cnwrote:



 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
 fotis.chatzini...@gmail.com,



-- 
--
Best regards,
Andriy Panas


[flexcoders] Flex:how to count online user and record user visits?

2010-01-11 Thread happyhy2005
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




RE: [SPAM] [flexcoders] Flex:how to count online user and record user visits?

2010-01-11 Thread Tracy Spratt
Flex runs on the client, in a browser.  It cannot count anything on the
server. It can display a count by getting the data from a server.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of happyhy2005
Sent: Sunday, January 10, 2010 12:09 AM
To: flexcoders@yahoogroups.com
Subject: [SPAM] [flexcoders] Flex:how to count online user and record user
visits?

 

  

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





Re: [flexcoders] Flex:how to count online user and record user visits?

2010-01-11 Thread Fotis Chatzinikos
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 happyhy2...@yahoo.com.cnwrote:



 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
fotis.chatzini...@gmail.com,