Re: [PHP] handling a user pressing browser's back button

2005-05-04 Thread Matthew Weier O'Phinney
* James [EMAIL PROTECTED]: Actually: Will there be an issue with the back button if I use 1 script to do all of what I posted before? No. Thank you guys for the answers. I think I will go with the following approach. (A) script 1 submits to script 2 then (B) script 2 redirects

Re: [PHP] handling a user pressing browser's back button

2005-05-02 Thread James
Thank you guys for the answers. I think I will go with the following approach. (A) script 1 submits to script 2 then (B) script 2 redirects browser back to script 1 Script 1 is in charge of submitting and displaying; script 2 does the processing. This list is the best! -James At 2:08 AM +

Re: [PHP] handling a user pressing browser's back button

2005-05-02 Thread James
Actually: Will there be an issue with the back button if I use 1 script to do all of what I posted before? So... Script 1 submits to itself...it does the processing, updates databases, etc...then it redirects back to itself for displaying for results. -James Thank you guys for the answers.

[PHP] handling a user pressing browser's back button

2005-04-26 Thread James
Currently I have an application with PHP scripts that passes POST variables to keep track of ID's of records, the processing mode and such. I totally didn't design it to handle when a user hits the Back button in the browser...everything is tightly controlled...The user clicks on

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Greg Donald
On 4/26/05, James [EMAIL PROTECTED] wrote: What have people done in the past to deal with states and such and keeping these things straight when the user hits the BACK button? Use GET instead of POST for your form method. And if you need both methods just handle the incoming requests from the

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread James
I apologize in advance if I'm asking basic questions... When you hit the back button, won't the browser just take the page from the cache? I haven't switched my POSTs to GETs and this is what I'm seeing. I have a list of images. There are check boxes next to the images. When the user checks

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread James
Ok Greg: I changed everything to GET and it's behaving better! Thanks. I guess when the user clicks the back button they should just get back the last state of the browser...no if, and or but's. -James At 1:59 PM -0500 4/26/05, Greg Donald wrote: On 4/26/05, James [EMAIL PROTECTED] wrote: What

RE: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Warren Vail
I changed everything to GET and it's behaving better! Thanks. I guess when the user clicks the back button they should just get back the last state of the browser...no if, and or but's. This is because when you click the back button on the browser it pulls up the URL from it's history

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Matthew Weier O'Phinney
* James [EMAIL PROTECTED]: I apologize in advance if I'm asking basic questions... When you hit the back button, won't the browser just take the page from the cache? I haven't switched my POSTs to GETs and this is what I'm seeing. I have a list of images. There are check boxes next to the

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread Richard Lynch
On Tue, April 26, 2005 11:51 am, James said: What have people done in the past to deal with states and such and keeping these things straight when the user hits the BACK button? Best Option: Don't design your application like that :-) People use the browsers they use because they like its