Hi
I have a form for a user to fill in and send the data to a php page which will insert the data into a MySQL database.
I would like to create a session for the user and insert the session is into the database along with the other values that the user specified. Once the data has been inserted I would like the session to expire so they cannot hit the back button and re-submit the form.
Any ideas on how to do this? I've searched the web but no joy.
I have a form for a user to fill in and send the data to a php page which will insert the data into a MySQL database.
I would like to create a session for the user and insert the session is into the database along with the other values that the user specified. Once the data has been inserted I would like the session to expire so they cannot hit the back button and re-submit the form.
Any ideas on how to do this? I've searched the web but no joy.
Comment