forms not clearing

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
3cwired_com
Posts: 20
Joined: Wed Jul 04, 2007 9:49 am

forms not clearing

Post 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).
Behind every great fortune lies a crime.
[url]http://www.3cwired.com[/url] - Web Design/SEO/Repair/Sales/Upgrades
[url]http://www.galants.org[/url] - The Home for Galant Enthusiasts
[url]http://www.locatemyip.com[/url] - More than just free IP displays
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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();
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
3cwired_com
Posts: 20
Joined: Wed Jul 04, 2007 9:49 am

Post by 3cwired_com »

Thanks, i will try it out shortly!
Behind every great fortune lies a crime.
[url]http://www.3cwired.com[/url] - Web Design/SEO/Repair/Sales/Upgrades
[url]http://www.galants.org[/url] - The Home for Galant Enthusiasts
[url]http://www.locatemyip.com[/url] - More than just free IP displays
Post Reply