Problem with Login after Logout

Author Message

Femar Group

Wednesday 30 March 2005 4:10:39 am

I've a problem with session cache in eZ 3.5.0:
in the user interface i'm logged in as User1, if i try to log-in as User2 (after logout) in the pagelayout current_user is User2 but in the content page is User1.
If i clear all caches before log-in i've no problem.
I don't use cache-block or similar.
Where is the problem?

Lex 007

Wednesday 30 March 2005 4:16:15 am

I got the same problem and I have noticed it happens only in embedded templates (tpl included in another tpl ...). I don't have this problem in the "main" pagelayout.tpl

The dirty workaround I found was to disable cache at the beginning of the embedded template.

{* DISABLE CACHE FOR THIS PAGE *}
{set-block scope=root variable=cache_ttl}0{/set-block}

Lex

Femar Group

Wednesday 30 March 2005 5:48:30 am

I've problem with the template shown by module_result.content, is not an include.

Lex 007

Wednesday 30 March 2005 6:26:43 am

Ooops you are right : in fact the problem is happening in module_result.content for me as well.

So does anyone have a solution ?

Nathan Kelly

Wednesday 16 November 2005 5:31:01 pm

I'm having this problem on 3.6.0 aswell, did anyone find a solution for this?

Cheers!

Pardon me while I burst into flames...

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 20 2025 04:09:33
Script start
Timing: Jan 20 2025 04:09:33
Module start 'layout'
Timing: Jan 20 2025 04:09:33
Module start 'content'
Timing: Jan 20 2025 04:09:35
Module end 'content'
Timing: Jan 20 2025 04:09:35
Script end

Main resources:

Total runtime2.1237 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.0048 589.1563152.6250
Module start 'layout' 0.00480.0034 741.781339.4453
Module start 'content' 0.00822.1141 781.2266600.9297
Module end 'content' 2.12230.0014 1,382.156312.1641
Script end 2.1237  1,394.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.1640160.0002
Check MTime0.00160.0744160.0001
Mysql Total
Database connection0.00070.032110.0007
Mysqli_queries2.067397.3436650.0318
Looping result0.00050.0236630.0000
Template Total2.095498.721.0477
Template load0.00190.088420.0009
Template processing2.093598.578321.0468
Template load and register function0.00010.004610.0001
states
state_id_array0.00080.039510.0008
state_identifier_array0.00110.051720.0005
Override
Cache load0.00160.0752260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.024230.0002
Fetch class attribute name0.00090.040880.0001
XML
Image XML parsing0.00360.169030.0012
class_abstraction
Instantiating content class attribute0.00000.0008100.0000
General
dbfile0.00310.1452280.0001
String conversion0.00000.000440.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs