NetTalk Central

Author Topic: Showing Browse users who are online in real time  (Read 9849 times)

LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Showing Browse users who are online in real time
« on: April 02, 2012, 03:25:19 AM »
Hi All

In WebServer, as you can do so in another tab, as LOG and PERFORMANCE, is called USER ONLINE ??
This Tab showing Browse users who are online in real time

P.D.: Sorry for my English, I find it hard the English :)

Tanks

Regards


Luis

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Showing Browse users who are online in real time
« Reply #1 on: April 02, 2012, 07:14:10 AM »
Hi Luis,

The number of people "online" is the same as the number of sessions. So that's on the performance tab already.

However I think you are wanting the _names_ of the people currently online - I guess the names of the people logged in. (If they are not logged in, we won't know their name).

right?

cheers
Bruce


LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #2 on: April 02, 2012, 08:27:47 AM »
Hi Bruce

The number of sessions is not the same, if the user reached the page that is counted, I need to know the name of which is connected at login and that does not show when you logout.

The just want to know are the names of persons identified with a login.

This is possible?



Thanks

Regards

Luis

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Showing Browse users who are online in real time
« Reply #3 on: April 02, 2012, 11:55:56 PM »
Hi Luis,

Ok - just so I'm 100% clear -
you want to see a list of people that are logged in?

cheers
Bruce


LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #4 on: April 03, 2012, 02:28:02 AM »
HI Bruce

yes, that is what I need, I also believe it would help many in this community.

Thank you very much Bruce.

Regards


Luis

LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #5 on: April 05, 2012, 01:12:33 PM »
Hi Bruce

This functionality will be included in a subsequent version of NT?

Thanks

Regards


Luis
« Last Edit: April 05, 2012, 07:08:22 PM by LuisMarcantoni »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Showing Browse users who are online in real time
« Reply #6 on: April 05, 2012, 09:19:58 PM »
yes, it's likely.

cheers
Bruce

LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #7 on: April 06, 2012, 03:38:35 AM »
Hi Bruce

I will be looking forward.  :)

Thank you very much.

Regards

Luis

Flint G

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #8 on: April 06, 2012, 10:39:05 AM »
We, too, would like to be able to look into the session queue to see which users are currently logged in.  Too bad we can't "vote" this one up the list ;)
NetTalk: 12.26
Clarion: 9.1.11529
Brave: 1.31.88
Chrome: 95.0.4638.69
Edge: 95.0.1020.44
ExtJS: 7.0.0.156

Alan Cochran

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Showing Browse users who are online in real time
« Reply #9 on: April 06, 2012, 12:15:58 PM »
I have expanded the WebServer procedure with a tab "Currently Logged In" in a couple of my projects. It wasn't much work to do.

When the user logs in, I use a TPS file to keep a history of users with their logged in / out date and time info.  And I use an In-Memory table to show Logged in Users in the "Currently Logged In" tab. So if I ever need to restart the program, I don't have to handled the management of records in the table.  I am using a timer on the WebServer procedure to refresh the window.

I will upload a scaled down version of one of my apps by next week to show what I have done.  I also plan to add a NetWebBrowse procedure to show "Currently Logged In" users so anyone with administrator rights can view this on the web instead of having to go the server. 

Alan

[attachment deleted by admin]
« Last Edit: April 06, 2012, 12:20:00 PM by Alan Cochran »

LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #10 on: April 06, 2012, 12:33:16 PM »
Hi Alan

Thank you very much, we will be waiting.

Regards

Luis

Alan Cochran

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Showing Browse users who are online in real time
« Reply #11 on: April 10, 2012, 10:33:54 AM »
Hi All,

I have attached an updated version of the BasicWithLogin(3) app that shows "Currently Logged In" users on the WebServer procedure.  There are 3 additional tables in the "Settings" dictionary that I use to accomplish this.  (WebUser, WebLog and WebLogOL).  The WebLogOL table is used as a temporary file that is created when the WebServer opens.  There is only one user created in the WebUser table  as "demo" and password is "demo.  

The 3 procedures to look are WebServer, WebHandler and LoginForm.  In the WebServer procedure, the timer is set to 1000 (10 seconds).  

I hope this is helpful and if you have any comments, questions or any recommendations, please let me know.  I used Clarion8 to generate this app.

Regards...
Alan



[attachment deleted by admin]
« Last Edit: April 11, 2012, 06:10:26 AM by Alan Cochran »

LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #12 on: April 11, 2012, 02:23:12 AM »
 :o

Thank you very much Alan, your work is much appreciated.

Will be implemented in my applications

Thanks

Best regards

Luis

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #13 on: April 11, 2012, 02:44:54 AM »
Some of us still use Clarion 6.3 ?
anyway this knowledge can be shared ?

LuisMarcantoni

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Showing Browse users who are online in real time
« Reply #14 on: April 11, 2012, 02:46:34 AM »
Hi Alan
I find nothing of this in the example attached, you will be wrong by example?  :'(

Regards

Luis