How to overpass "Confirm Form Resubmission" in PHP -


i have 3 pages.

-page1.php sends data through form post action

-page2.php recieves data page1.php. in page2.php there link page3.php

-page3.php staff.

when click go page3 page2 occures

confirm form resubmission

err_cache_miss

i understand reason of behaviour. when take data page1 page2 store of them in session don't need use submit. how can check if submit done in order continue if no submit used?

here code of page2:

<?php if (session_status() == php_session_none) {     session_start(); }  global $dbcnx;  if (isset($_post['submit']))//if submit store in session {     $_session['team_name'] = $_post['teams'];     echo $_session['team_name']; }  else //do nothing {}  //conitnue code . . . 

that last try. response helpfull. in advance!

the usual way prevent redirect page no post data, click link see more info on how make redirect in php?


Comments