Session handling and cron-job

Author Message

Marco Zinn

Sunday 23 November 2003 12:45:57 pm

I start to fiddle around with the notification system. It works fine and sends mails, when I call "runcronjobs.php". I do this via a http-call, as I don't have a command-line PHP on the server.
I noticed that, after the runcronjobs.php is run, I'm logged out. I don't know, if _everyone_ is logged out (it's a test-system).
Now:
- will the cron-job log users out or do some other kind of session-cleanup?
- in ez2, sessions were kept in the DB and a cron-job cleaned the idle session after a timeout. In ez3, which session data is stored in the DB?
- How is session-cleanup done in ez3, anyway? ;)

Marco
http://www.hyperroad-design.com

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 31 2025 04:17:37
Script start
Timing: Jan 31 2025 04:17:37
Module start 'layout'
Timing: Jan 31 2025 04:17:37
Module start 'content'
Timing: Jan 31 2025 04:17:37
Module end 'content'
Timing: Jan 31 2025 04:17:37
Script end

Main resources:

Total runtime0.0163 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.0047 588.1250151.2109
Module start 'layout' 0.00470.0023 739.335936.6484
Module start 'content' 0.00700.0077 775.984486.1094
Module end 'content' 0.01470.0016 862.093829.9922
Script end 0.0163  892.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002313.9019140.0002
Check MTime0.00116.8589140.0001
Mysql Total
Database connection0.00074.338910.0007
Mysqli_queries0.002314.392830.0008
Looping result0.00000.061410.0000
Template Total0.00138.110.0013
Template load0.00095.656610.0009
Template processing0.00042.359410.0004
Override
Cache load0.00063.951710.0006
General
dbfile0.003320.147380.0004
String conversion0.00000.038040.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