I am using sessions, and I added an "AddRequest" hidden field with a default value of "Yes" to the start page.
This variable is passed to the processing page and registered using: $HTTP_SESSION_VARS["AddRequest"]=$AddRequest;
My insert query is now preceded by the following code:
If ($AddRequest=="Yes") {
$AddRequest="No";
Somehow, I am still getting 2 copies of the same record. When the page first displays, I get the record I expect to get. When the page is refreshed, I get a second copy (with a different auto-increment number). If I refresh the page a third time, I don't get another copy of the record.
What do I need to do to keep from getting the second copy?
Thanks!
Timm