Page 1 of 1
Your session has expired
Posted: Fri Oct 26, 2007 11:56 pm
by chiew
Script URL:
http://www.motto-ebusiness.com/hesk
Version of script: v0.94.1
Hosting company: hostgator
URL of phpinfo.php:
http://www.motto-ebusiness.com/hesk/phpinfo.php
URL of session_test.php:
http://www.motto-ebusiness.com/hesk/session_test.php
What terms did you try when SEARCHING for a solution: Your session has expired
Write your message below:
I know this is not a new issue, but I read through all the post and cannot find any solution. Yes, I can login to the admin, but after clicking on certain link and do some editing, the system log me out and the "session has expired" appear.
I cannot add new category, when I click on create category, it will log me out.
chiew
Posted: Sat Oct 27, 2007 9:20 am
by Klemen
Hi,
Your sessions seem to work fine (if you were able to install Hesk and login into admin). It's possible some other software (like anti-virus, anti-spyware or even firewall) is making problems to the session cookies. Do you have anything like this running?
I would suggest try testing it with some other browser (if you use IE try with FireFox and vice versa) or from some other PC. If you want you can PM me your admin password and I will test it from here.
Posted: Sat Oct 27, 2007 11:31 am
by Klemen
Ok, tested it now and was able to do everything (login, add categories, add canned responses, ...).
First thing you should do is clear your cookies and temporary Internet files, then close ALL browser windows (including this one), open Hesk again and see if it works for you.
As suggested before try with a different browser or from a different PC if possible. If you are running some software that might block cookies try disabling it (I know people had problems with Norton Internet security in the past).
Also note that sessions expire after a certain period of time (I think 24 minutes by default).
Admin Session expired problem
Posted: Mon Dec 17, 2007 7:13 pm
by bfvww2
Script URL:
http://www.ozone-serveur.eu/test/hesk/
Version of script: 0.94.1
Hosting company: Dedicated server (OVH)
URL of phpinfo.php:
http://www.ozone-serveur.eu/test/hesk/phpinfo.php
URL of session_test.php:
http://www.ozone-serveur.eu/test/hesk/session_test.php
Write your message below:
Hello! I have the same problem, but can't fix it. For my exemple, the probelm cames when clicked "Close" to the ticket. I can't relog into the admin script after this: a directly have the "Session expired" message.
When I delete session informations, cookies, cache and all i can iin firefox and IE i can re-login. Never had a similar problem with other scripts.
What to change in the php code to fix theses problems? I tried disable all my antivirus/firewall etc. but didn't work.
Thanks.
Posted: Tue Dec 18, 2007 10:50 am
by Klemen
From the session test file I would asy your sessions aren't working at all. Check if the folder you have set it php.ini exists and is writable by PHP scripts:
/var/lib/php5
Or you can try changing your session.save_path to /tmp in php.ini
Posted: Tue Dec 18, 2007 11:01 am
by bfvww2
All the sessions are working great on all the websites present on the dedicated server. The session path is writable and contain session informations...
I sent you by PM my php.ini file.
There is only you're script making problem with sessions

Posted: Tue Dec 18, 2007 2:15 pm
by Klemen
Well the session_test file isn't working and this is as simple as PHP sessions can get:
http://www.ozone-serveur.eu/test/hesk/session_test.php
When you click the link the variable is always "False", should be "True" if sessions preseved through pages. Just tested with both IE7 and FF. The problem is 100% server-side.
Posted: Tue Dec 18, 2007 2:17 pm
by bfvww2
yes but you got my php.ini and saw nothing's wrong!
And my other website use sessions without problems on the same server! How can you explain this?

I know there is a server side problem but i can't explain it...
Posted: Tue Dec 18, 2007 2:18 pm
by Klemen
I just noticed something in your phpinfo (don't need the php.ini if I have phpinfo): in the php.ini you have session.cookie_domain set to "ozone-serveur.com" but you are trying to access the page from "ozone-serveur.eu".
This won't work of course because for security reasons browsers will not allow you to use cookies set under some other domain. Try disabling session.cookie_domain (set it to "") in the php.ini , then restart Apache, clear temporary internet files and see how it goes.
Posted: Tue Dec 18, 2007 2:19 pm
by bfvww2
ok!! If i set it to "" this will be considered as a wildcard?
Posted: Tue Dec 18, 2007 2:22 pm
by Klemen
Just set it like this as it is in the original php.ini:
Yes, will be considered as wildcard then.
Posted: Tue Dec 18, 2007 2:25 pm
by bfvww2
Ok modified. Then i obtain TRUE to the test session, but nothing changes about you're script: i always have the same problem.
Posted: Tue Dec 18, 2007 9:55 pm
by Klemen
Sessions work fine now.
I tested the security number in hesk add a ticket and it works fine as well.
You are having problems logging in? Can you PM me your password (or create a user like "test") and I will try from here.