custom fields not reset after submiting

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
ud2008
Posts: 24
Joined: Fri Mar 27, 2009 9:41 am

custom fields not reset after submiting

Post by ud2008 »

Script URL:
Version of script: 2.0
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I've added a couple of custom fields and when I submit a ticket, then when I want to add a new ticket the custom fields are still filled and not reset.

How can I reset them?

I already tried the suggestion Klemen made in topic below:
viewtopic.php?t=1519&highlight=reset+custom+fields

But this didn't solve anything.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Try adding

Code: Select all

unset($_SESSION); 
above

Code: Select all

require_once(HESK_PATH . 'inc/header.inc.php');
in the submit_ticket.php file.
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
ud2008
Posts: 24
Joined: Fri Mar 27, 2009 9:41 am

Post by ud2008 »

Tried it, but result is still the same.

What else could it be :?
MOB
Posts: 54
Joined: Sat May 10, 2008 9:51 am

Post by MOB »

Yes, I am also having the same problem. I am using Mozilla Firefox.

Update:

It seems to happen when I am logged in as an Admin and when I am just testing the ticket system. Hmm? After I log out and close the page on my browser, it seems to return back to normal.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Your customers won't be logged in as administrators. So it works fine if you just access the customer interface? Test it by closing all browser windows and submitting a ticket as a customer.
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
Post Reply