prevent back button

Out of context: Reply #3

  • Started
  • Last post
  • 6 Responses
  • ldww0

    order-step4.php:
    credit card informationg get passed to this page, and it contacts credit card place to authenticate.... if sucess forward to thankyou.php

    thankyou.php
    if a user hits back, it hits back arrorow(to order-step4.php) it charges card again

    i tried putting a database call at the top of order-step4 to check order status or current order and to not charge again, but its not loading that, i am guessing cause its cached.

    also tried doing a pragma no-cache.

View thread