![]() |
Sergey Kornilov admin 4/19/2013 |
You can do that. Some manual coding skills are required to implement this functionality.
select * from users where LastActivity > (now() - interval 10 minute)
|
S
|
shoppy author 4/19/2013 |
Hi Sergey, |
![]() |
Sergey Kornilov admin 4/19/2013 |
Make sure you have added such a field and it's populated with correct values. Once you got it right you can add a PHP code snippet to one of PHPRunner pages that runs this query and displays the list of users. |
S
|
shoppy author 4/22/2013 |
Could anyone help me make a script like that? |
![]() |
Sergey Kornilov admin 4/22/2013 |
Contact Cristian Gile for a quote: |
S
|
shoppy author 4/22/2013 |
Thanks Sergey. |
![]() |
Sergey Kornilov admin 4/22/2013 |
You need to use AfterAppInit event for this purpose. It's not enough to update this field after the login. You need to do that after each new page user loads so you know they are still on the website. |
S
|
shoppy author 4/22/2013 |
You need to use AfterAppInit event for this purpose. It's not enough to update this field after the login. You need to do that after each new page user loads so you know they are still on the website.
|
![]() |
Sergey Kornilov admin 4/22/2013 |
You need to upgrade to the latest version then. |