Avoid Doube submits

Author Message

Lars Eirik R

Monday 04 January 2010 9:42:41 am

Hi.

Is there an easy way to avoid double submissions when using the standard collectedinfo handler?

Today when i submit a form and enter the result page which is displayed i may easily hit f5 and i will be asked whether to resubmit the form again..

THis is not what i would like. Is there an easy way to avoid the double submission problem without having to modify the core

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 18 2025 05:00:09
Script start
Timing: Jan 18 2025 05:00:09
Module start 'layout'
Timing: Jan 18 2025 05:00:09
Module start 'content'
Timing: Jan 18 2025 05:00:10
Module end 'content'
Timing: Jan 18 2025 05:00:10
Script end

Main resources:

Total runtime0.8363 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.8125152.6094
Module start 'layout' 0.00510.0030 740.421939.4141
Module start 'content' 0.00810.8268 779.8359432.3047
Module end 'content' 0.83490.0014 1,212.14068.1875
Script end 0.8363  1,220.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4161160.0002
Check MTime0.00160.1955160.0001
Mysql Total
Database connection0.00060.073510.0006
Mysqli_queries0.793694.8918460.0173
Looping result0.00040.0523440.0000
Template Total0.796395.220.3982
Template load0.00220.261020.0011
Template processing0.794194.960120.3971
Template load and register function0.00020.022710.0002
states
state_id_array0.00140.171110.0014
state_identifier_array0.00150.178020.0007
Override
Cache load0.00180.221080.0002
Sytem overhead
Fetch class attribute can translate value0.00090.113410.0009
Fetch class attribute name0.00080.095620.0004
XML
Image XML parsing0.00130.159810.0013
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00220.2616160.0001
String conversion0.00000.001040.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs