ezsession table and data field

Author Message

Jean-Luc Nguyen

Tuesday 21 September 2010 1:50:43 am

Hello,

I was wondering, what kind of info or data is stored in the data field on ezsession table? Are there some rules? I have an issue; I don't know why, but there are some customized $_SESSION values, and I don't understand why, before searching on the kernel files.

Thanks a lot!

http://www.acidre.com

Jean-Luc Nguyen

Tuesday 05 October 2010 4:32:46 am

OK, got the answer on the next eZ Publish 4.4 release: http://www.llaumgui.com/post/retour-sur-la-journee-ez-parisienne-du-mardi-21-septembre-2010

http://www.acidre.com

André R.

Saturday 16 October 2010 8:55:24 am

http://github.com/.../doc/features/4.4/session_enhancement.txt

Basically: Never use $_SESSION directly, and yes eZ Publish stores lots of things in session to remember state, some of it has been removed / improved in 4.4 to make way for session less users support.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

Main resources:

Total runtime0.0161 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.0052 588.1406151.2109
Module start 'layout' 0.00520.0022 739.351636.6484
Module start 'content' 0.00750.0067 776.000090.1406
Module end 'content' 0.01420.0019 866.140633.9922
Script end 0.0160  900.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.5690140.0002
Check MTime0.00116.7876140.0001
Mysql Total
Database connection0.00106.092410.0010
Mysqli_queries0.002012.304930.0007
Looping result0.00000.074110.0000
Template Total0.00159.010.0015
Template load0.00116.682410.0011
Template processing0.00042.312410.0004
Override
Cache load0.00074.521110.0007
General
dbfile0.002012.601480.0003
String conversion0.00000.038540.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