Ezpublish and Remember Me function on login page

Author Message

Tuulia Antonius

Wednesday 09 February 2011 4:02:47 am

We have gotten a problem with the Remember Me function on login page since the upgrade from 4.3 to 4.4.

The 'remember me' stays for a some hours and the it is gone.
The same problem is on two different sites.
In our configure files we define:
settings/site.ini

RememberMeTimeout =31536000
CookieTimeout not defined
in php.ini
php.ini cookiie life liftime is 0

Is this a common problem or a new bug with release 4.4?
How to fix this.
I see that this has something to so with the method:
static protected function setCookieParams( $lifetime = false )
in file
lib/ezsession/classes/ezsession.php

Harry Oosterveen

Wednesday 09 February 2011 5:56:16 am

We have the same problem with a brand new installation of eZ 4.4, and the following settings:

[Session]
SessionNameHandler=default
RememberMeTimeout=259200
ActivityTimeout=2592000
SessionTimeout=2592000

Any help would be appreciated.

Kind regards,

Harry

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 03:28:22
Script start
Timing: Jan 31 2025 03:28:22
Module start 'layout'
Timing: Jan 31 2025 03:28:22
Module start 'content'
Timing: Jan 31 2025 03:28:23
Module end 'content'
Timing: Jan 31 2025 03:28:23
Script end

Main resources:

Total runtime1.2433 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.2656151.2266
Module start 'layout' 0.00540.0051 739.4922220.7266
Module start 'content' 0.01051.2319 960.21884,403.4531
Module end 'content' 1.24250.0008 5,363.67197.8125
Script end 1.2432  5,371.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3198160.0002
Check MTime0.00130.1052160.0001
Mysql Total
Database connection0.00060.048510.0006
Mysqli_queries1.157393.0802540.0214
Looping result0.00050.0423520.0000
Template Total1.177894.720.5889
Template load0.00200.158720.0010
Template processing1.175994.576020.5879
Template load and register function0.00180.147610.0018
states
state_id_array0.00260.209410.0026
state_identifier_array0.00300.241820.0015
Override
Cache load0.00160.1289250.0001
Sytem overhead
Fetch class attribute can translate value0.00170.135620.0008
Fetch class attribute name0.00200.163430.0007
XML
Image XML parsing0.00230.185820.0012
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00350.2848150.0002
String conversion0.00000.000840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs