forms - Google Chrome creates history item on redirect? -


when following redirect after form submission goes page you're on, experience has been clicking on browser button take page on before page, before form submission.

for example, enter site and:

1. (click) /home 2. (click) /user/view 3. (click) post /user/save_changes 4. (redirect) /user/view 

the behavior in firefox after form submission , redirect (#4), clicking "back" take #1 (get /home) #4. in chrome, clicking after redirect takes #2 (get /user/view).

i don't recall being behavior in past... , appears happen on chrome. happens both 301 , 302 redirects.

is there way avoid behavior? i've done way because behavior has been acceptable (goes #1 upon clicking after form submission). did avoid ever clicking , getting horrible "do want resubmit form" message.

html5 provides cool option control browser behavior - html5 history api. guess, instead of depending on browser handle on own, better instruct browser how handle it.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -