I have an AJAX form on index.php that processes via order.php.
How can I ensure that order.php is being accessed through the AJAX form prior to processing so I can ignore direct access requests to order.php?
I tried using a Session variable and making sure the session variable set in index.php is set before processing order.php, but if someone goes to index.php first and then goes to order.php directly, it will still process order.php even though it wasn't via the AJAX form.