Jump to content

Need help : form submitting automativally while clicking back


rajeesh

Recommended Posts

I was working on an airline site in Joomla.  From a payment form I inserted and submitting a form to payment gateway. From the payment gateway when I clicked the back button It won't go to the previous page instead of that it again submit the form and go to the payment gateway. Actually I need to pre populate all the form details while clicking back. I wrote the code for that but control never coming back to my function wile clicking the back button. I think it was because of cache ........... Please help me.. I need instant reply...

I was working on an airline site in Joomla.  From a payment form I inserted and submitting a form to payment gateway. From the payment gateway when I clicked the back button It won't go to the previous page instead of that it again submit the form and go to the payment gateway. Actually I need to pre populate all the form details while clicking back. I wrote the code for that but control never coming back to my function wile clicking the back button. I think it was because of cache ........... Please help me.. I need instant reply...

 

Read this: http://www.mnot.net/cache_docs/

 

 

I fixed the previous issue posted using javascript and cookies. Now the application worked perfectly in Firefox but I am facing problems with Chrome. in the same scenario when I clicked back button in Chrome it go neither to the javascript code nor to the controller instead of this it took the page from the cache and displayed. it only go to controller when I again submitted  the payment form. Anybody give idea to clear the cache data chrome will be appreciated.

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.