Page 1 of 1

passing session variable

Posted: Fri May 21, 2010 12:23 am
by mabreu
Script URL:
Version of script:2.1
Hosting company:bluehost
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: session, pass variables

Write your message below:
So far the integration is going well. One thing I want to do is add some user info to HESK from my own database but I am having trouble passing variables from my session to HESK.

Have you done anything with passing variables to HESK? I would like to prefill the name and email address on ticket submission but cannot seem to get them into the HESK session. I would prefer to not send them thru GET or POST on each page submission.

My ultimate goal is to allow users who are logged into our system to be able to pull up a list of their open tickets in HESK.

Thanks,

Mike

Posted: Fri May 21, 2010 1:04 am
by mabreu
I seemed to have solved the problem by removing the "HESK" session name from the common.inc and print_sec_img pages.

Let me know if you see any problems with this (other than duplicate session variable names).

Thanks for a great script.

Posted: Fri May 21, 2010 12:58 pm
by Klemen
You probably had a session opened already that was conflicting with the HESK one. If removing that session_name works fine then it should work fine 8) :wink: