Restricting multiple concurrent logon / login

Author Message

Andreas Kaiser

Tuesday 24 July 2007 4:37:49 am

I was convinced there was an option to prevent multiple concurrent user logons in ezp, but I can't find the option...

Is it possible to prevent the same user to login in ezp at the same time?

Thanks in advance

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Andreas Kaiser

Thursday 26 July 2007 8:00:07 am

Well there is a "max_login" variable in the user class attribute. But it seems it doesn't make anything:

http://issues.ez.no/IssueView.php?Id=2238&activeItem=2

http://ez.no/community/forum/setup_design/maximum_concurrent_logins

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Genri Moshkovich

Sunday 29 July 2007 6:54:10 am

Hello, Andreas!

Try it http://ez.no/community/contribs/hacks/concurrent_logins_patch ..

Best regards,
Genri Moshkovich

Heath

Sunday 29 July 2007 5:01:52 pm

Hello Genri,

Thank you for your contribution!

Would you submit this solution as a patch to the existing issue?, http://ezpedia.org/wiki/en/ez/patch

Issue, http://issues.ez.no/2238

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 20:51:20
Script start
Timing: Jan 18 2025 20:51:20
Module start 'layout'
Timing: Jan 18 2025 20:51:20
Module start 'content'
Timing: Jan 18 2025 20:51:20
Module end 'content'
Timing: Jan 18 2025 20:51:20
Script end

Main resources:

Total runtime0.0157 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.0469152.6406
Module start 'layout' 0.00640.0032 740.687539.4766
Module start 'content' 0.00960.0042 780.164193.3672
Module end 'content' 0.01380.0019 873.531334.3047
Script end 0.0156  907.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.7435140.0002
Check MTime0.00117.1890140.0001
Mysql Total
Database connection0.00116.900110.0011
Mysqli_queries0.003019.099230.0010
Looping result0.00000.115610.0000
Template Total0.00159.810.0015
Template load0.00095.708010.0009
Template processing0.00064.050710.0006
Override
Cache load0.00063.679710.0006
General
dbfile0.00021.363980.0000
String conversion0.00000.044140.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