rajeesh Posted May 7, 2011 Share Posted May 7, 2011 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... Quote Link to comment https://forums.phpfreaks.com/topic/235756-need-help-form-submitting-automativally-while-clicking-back/ Share on other sites More sharing options...
gizmola Posted May 10, 2011 Share Posted May 10, 2011 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/ Quote Link to comment https://forums.phpfreaks.com/topic/235756-need-help-form-submitting-automativally-while-clicking-back/#findComment-1213176 Share on other sites More sharing options...
rajeesh Posted May 10, 2011 Author Share Posted May 10, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/235756-need-help-form-submitting-automativally-while-clicking-back/#findComment-1213246 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.