Caching issue

Author Message

Glenn MacGregor

Wednesday 19 May 2004 5:32:43 am

Hi All,

More on the user login thing, sorry. I check to see if the user is logged in on a certain page (template) http://www.ez.no/community/forum/developer/logging_user_in for more info on that.

Anyway If the user in not logged in then I put a link on the page to /user/login. This allows the user to login and it redirects back to the original page. The problem is when it redirects back to the original page I get the not logged in message. I have tried to refresh and clear the browser cache but I still get the same page. The only way I get the correct page is to clear the cache in the ez admin cache admin. Is there a way to not cache certain pages or something like that?

Also can I remove the "Sign Up" button on the login page using a ini setting?

Thanks

Glenn

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 06:21:59
Script start
Timing: Jan 31 2025 06:21:59
Module start 'layout'
Timing: Jan 31 2025 06:21:59
Module start 'content'
Timing: Jan 31 2025 06:21:59
Module end 'content'
Timing: Jan 31 2025 06:21:59
Script end

Main resources:

Total runtime0.0118 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.0045 588.0078151.1953
Module start 'layout' 0.00450.0021 739.203136.6016
Module start 'content' 0.00660.0038 775.804785.9063
Module end 'content' 0.01050.0013 861.710929.9922
Script end 0.0117  891.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002218.8802140.0002
Check MTime0.00119.3844140.0001
Mysql Total
Database connection0.00076.139610.0007
Mysqli_queries0.002118.240530.0007
Looping result0.00000.085010.0000
Template Total0.00108.610.0010
Template load0.00086.750910.0008
Template processing0.00021.799610.0002
Override
Cache load0.00054.609210.0005
General
dbfile0.00022.068880.0000
String conversion0.00000.058740.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