Jump to content

header location back?


shadiadiph

Recommended Posts

if it just went back to the same page any previous data would be lost?

 

Potentially, but if you use javascript it would potentially duplicate the data.

 

IMO the best way is to use sessions to set the previous_page and then use that for the header location. This will not duplicate data, but wipe it out unless you store the data in session and use that to re-populate the form.

 

 

Link to comment
https://forums.phpfreaks.com/topic/138061-header-location-back/#findComment-721669
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.