I have a situation on a members site where I track session variables in the public pages tracking surfers through the site based initially on a passed variable in the URL.
Every page in the site begins with an include statement that references a short script that starts the session, registers 2 variables, and then assigns values to them to be tracked.
The surfer then has the option of joining, and they would be credited to the original referrer based on those session variables.
I have several different issues with sessions that I can't seem to solve, but the 2 most pressing are:
1) When a person joins, they are given their own url to promote with their username as the passed variable. But if they try to sign someone else up from their computer, that person for some reason reverts back to the original referrer. I'm fairly certain this is because of the cookie used to store session variables. But even if you close the browser and come back in a fresh browser, it still reverts to the original referrer.. Very frustrating..
2) When someone decides to join, they go through the payment page, after payment is made, they are taken to the join form. They fill out the form and submit, and all works well. But then they can hit the back button, get a page expired warning, and hit the refresh, and join again, without paying, as many times as they want... How do I stop this from happening?