Page 1 of 1

forms not clearing

Posted: Wed Jul 04, 2007 1:10 pm
by 3cwired_com
Script URL:
Version of script:.94
Hosting company:SELF, Linux, Centos
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Ok so this isn't really a big problem, but lets get right to it, I have did a few hacks to my installation so far, nothing major, just playing with some of the forms. I noticed that after I had submitted a test ticket, that if I were to go to try submit another one, that the data from the 4 custom form fields that I added are still there in that screen. Is there a reason why only the previous data is still sticking in those 4 custom fields?

This shouldn't be a big deal for me, because my clients will be using this form once, and randomly, it is highly unlikely that two people will submit a ticket request for my services through the same computer. But it just urks me that the data is still present. I know it has to do with cookies and things, because I opened up the ticket request form in IE and it was clean, and then after I added a new ticket and went to add another one, all of the data was still there (from the 4 custom fields).

Posted: Sun Jul 08, 2007 10:46 am
by Klemen
Try adding

Code: Select all

session_unset();
to submit_ticket.php to the end of the code, just ABOVE

Code: Select all

exit();

Posted: Sun Jul 08, 2007 11:10 am
by 3cwired_com
Thanks, i will try it out shortly!