6
I have a finished and working system, done in full ASP.
I am rewriting version 2.0 of it, and as I will review it 100%, I decided to try my luck with PHP. A problem arose in user control:
I need to be in control of how many concurrent users are using the system, because the negotiations of usage fees are linked to this.
In ASP the control was done through the ASP Application Object
, which is a kind of global object accessible by all instances running the application (more information on it at this link).
I researched about it but I found nothing concrete about the best ways to do it in PHP, someone has some experience with something like?
As a curiosity, how do you identify with ASP the number of logged in users? You use Session_start to count the number of active sessions or something?
– Richard Dias
@Richarddias Basically this. Store in an Application a Sessionid (and some other information) of each login.
– Dirty Old Man
http://forum.imasters.com.br/topic/510280-contador-de-pessoas-online-em-tempo-real/
– Jefferson Silva
@Jeffersonsilva I came to see this topic already, but I wanted to try some solution without involving database as I already have working in ASP today.
– Dirty Old Man