Redirect to last page after login

Author Message

Marian Theisen

Saturday 16 June 2007 5:24:53 pm

Hi,

im a bit confuses, which is the standard behavior for ezpublich after login ? i expect it to take me to the last page i viewed, e.g. if i view a forum topic, click login at the top of the page, type in my user data and click login i want to be taken back to the forum topic. problem is: it doesnt do that. it works fine if i try to access a restricted area (getting to login page->after login to the original requested page), but not if i click a login link.

greets
cice

Marian Theisen

Saturday 16 June 2007 6:35:40 pm

well redirection now works. had to dive into the kernel to find out, that redirection gets disabled when an error occurs.

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 19 2025 07:28:14
Script start
Timing: Jan 19 2025 07:28:14
Module start 'layout'
Timing: Jan 19 2025 07:28:14
Module start 'content'
Timing: Jan 19 2025 07:28:15
Module end 'content'
Timing: Jan 19 2025 07:28:15
Script end

Main resources:

Total runtime0.9060 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.1563152.6250
Module start 'layout' 0.00510.0038 741.781339.4453
Module start 'content' 0.00890.8955 781.2266423.0703
Module end 'content' 0.90430.0016 1,204.29698.1563
Script end 0.9060  1,212.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3317160.0002
Check MTime0.00130.1392160.0001
Mysql Total
Database connection0.00070.082110.0007
Mysqli_queries0.872396.2809520.0168
Looping result0.00040.0433500.0000
Template Total0.876096.720.4380
Template load0.00180.204020.0009
Template processing0.874296.486720.4371
Template load and register function0.00020.019110.0002
states
state_id_array0.00150.161310.0015
state_identifier_array0.00170.189020.0009
Override
Cache load0.00150.160490.0002
Sytem overhead
Fetch class attribute can translate value0.00070.072110.0007
Fetch class attribute name0.00090.096920.0004
XML
Image XML parsing0.00010.012710.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00060.0652100.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs