limit number of sessions per user

Author Message

Ivo Lukac

Wednesday 21 May 2008 6:33:48 am

Did someone try to limit number of sessions per user?
Could this be done with some hack in login.php?

Thanks

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Kristof Coomans

Wednesday 21 May 2008 6:44:00 am

Hi Ivo

Genri Moshkovich was so kind to provide a hack for this, see http://ez.no/developer/contribs/hacks/concurrent_logins_patch. Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Andy Caiger

Tuesday 19 October 2010 5:24:17 am

Two years have passed. What's the status of this hack? The above link doesn't work any more. "Maximum concurrent logins" is still greyed out in eZ Publish 4.4 so I guess it still hasn't been integrated yet? Where's the hack gone?

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Heath

Tuesday 19 October 2010 8:30:50 am

Hello Andy,

 

That contribution is still available from this location, http://auth.ez.no/developer/contribs/hacks/concurrent_logins_patch

 

Cheers,

 

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 18 2025 05:22:53
Script start
Timing: Jan 18 2025 05:22:53
Module start 'layout'
Timing: Jan 18 2025 05:22:53
Module start 'content'
Timing: Jan 18 2025 05:22:54
Module end 'content'
Timing: Jan 18 2025 05:22:54
Script end

Main resources:

Total runtime0.7957 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0547152.6250
Module start 'layout' 0.00580.0028 741.679739.4609
Module start 'content' 0.00870.7853 781.1406641.1875
Module end 'content' 0.79400.0016 1,422.328112.4688
Script end 0.7956  1,434.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4058160.0002
Check MTime0.00130.1694160.0001
Mysql Total
Database connection0.00070.088210.0007
Mysqli_queries0.741393.1716650.0114
Looping result0.00070.0826630.0000
Template Total0.766796.420.3834
Template load0.00240.297520.0012
Template processing0.764496.067320.3822
Template load and register function0.00010.012010.0001
states
state_id_array0.00120.152810.0012
state_identifier_array0.00180.221120.0009
Override
Cache load0.00170.2168240.0001
Sytem overhead
Fetch class attribute can translate value0.00050.064240.0001
Fetch class attribute name0.00130.167580.0002
XML
Image XML parsing0.00210.262740.0005
class_abstraction
Instantiating content class attribute0.00000.001580.0000
General
dbfile0.00110.1381360.0000
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs