fetching current (logged in) users

Author Message

Tim Achnitz

Thursday 24 July 2003 6:03:48 am

Is there any function already implemented in eZ which fetches all the users which are currently logged in?

Tim Achnitz

Friday 25 July 2003 2:45:52 am

Ok, seems to be that there is no function or anything already defined in eZ.

By now, I added a few lines to the login.php, that the dates of a users, who logs in, will be stored in a table in my database. That works fine.

But how can I fetch out the datas in a template? Kind of an SQL-Query in a template? thx

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:45:13
Script start
Timing: Jan 30 2025 21:45:13
Module start 'layout'
Timing: Jan 30 2025 21:45:13
Module start 'content'
Timing: Jan 30 2025 21:45:13
Module end 'content'
Timing: Jan 30 2025 21:45:13
Script end

Main resources:

Total runtime0.0251 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.1406151.2109
Module start 'layout' 0.00670.0038 739.3516220.6875
Module start 'content' 0.01050.0129 960.0391993.5703
Module end 'content' 0.02330.0017 1,953.609429.9922
Script end 0.0251  1,983.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.4665140.0002
Check MTime0.00104.0933140.0001
Mysql Total
Database connection0.00135.144010.0013
Mysqli_queries0.00239.236330.0008
Looping result0.00000.047510.0000
Template Total0.00135.110.0013
Template load0.00103.860610.0010
Template processing0.00031.179810.0003
Override
Cache load0.00062.322610.0006
General
dbfile0.00031.027880.0000
String conversion0.00000.023740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs