Important User Privacy Issue

Author Message

Brett J

Monday 23 July 2007 8:07:40 am

Hello,

I am relatively new to eZ but have found no mention of this issue on searching the forum.

A number of users have registered on the site. User A logs in and (presumably) logs out. A short time later, User B logs in but is met with User A's personal name. On logging out and then in again, User B has the correct name.

As I consider privacy of the utmost importance, and tell this to my clients, this is of course a big issue. I would appreciate any advice that someone could give regarding what the cause of this issue is and how it can be resolved.

Thank you.
Brett

André R.

Monday 23 July 2007 8:42:36 am

It's a cache issue.

upgrade to ezwebin (website interface) 1.2 to fix it

alternatively you can remove this text in your pagelayout:

 ( {$current_user.contentobject.name|wash} )

After doing that you need to clear template and template block cache

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

Brett J

Thursday 26 July 2007 7:19:01 pm

Can you please confirm which file confirms this code to be removed? And also that the user is logged in as themselves so any purchases made will be attributed to them and not the listed user?

Thank you.

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

Main resources:

Total runtime0.0240 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1250151.2109
Module start 'layout' 0.00610.0040 739.3359220.6875
Module start 'content' 0.01010.0125 960.0234997.8828
Module end 'content' 0.02260.0014 1,957.906333.9922
Script end 0.0240  1,991.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003012.5501140.0002
Check MTime0.00114.6679140.0001
Mysql Total
Database connection0.00083.422610.0008
Mysqli_queries0.002610.836830.0009
Looping result0.00000.088210.0000
Template Total0.00114.510.0011
Template load0.00083.414610.0008
Template processing0.00031.072810.0003
Override
Cache load0.00062.545110.0006
General
dbfile0.00020.982680.0000
String conversion0.00000.041640.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