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...

Link to comment
Share on other sites

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/

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.