Session has expired error

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
dbuckley
Posts: 1
Joined: Fri Dec 01, 2006 10:10 pm

Session has expired error

Post by dbuckley »

Script URL: http://www2.midland.edu/projects (behind a firewall)
Version of script: 0.93 (patch 0.93.1)
Hosting company: Midland College
URL of phpinfo.php: behind firewall
URL of session_test.php: behind firewall
What terms did you try when SEARCHING for a solution: session has expired

I was receiving the message "Your session has expired, please login using the form below" when trying to login to the admin page. I've gotten it to work after following several of the suggestions in this forum. I thought it might help if I posted my system info and the steps I followed, just in case someone has a similar system.

OS: Fedora Core Release 5
Mysql: standard-5.0.19-linux-i686
PHP: php-5.1.2
Apache: httpd-2.2.0

1. I installed phpinfo.php and installed and ran the session test scripts, no errors.

2. In admin.php changed

Code: Select all

session_regenerate_id();
to

Code: Select all

// session_regenerate_id();
(this was from Klemen's post at:
viewtopic.php?t=624&postdays=0&postorder=asc&start=45

No change, still received error.

3. From viewtopic.php?t=303&start=30

Open file "common.inc.php" inside the "inc" folder, find line 261:

Code: Select all

function hesk_session_start() {
change it to (add another line):

Code: Select all

function hesk_session_start() {
session_name('help_desk_funcis');
No change, still received error.

4. From dirko's post at:
viewtopic.php?t=303&start=30

changed line 62 in admin.php from:

Code: Select all

$_SESSION=hesk_dbFetchAssoc($result);
to

Code: Select all

$_SESSION+=hesk_dbFetchAssoc($result);
This worked.

I changed items 2 and 3 back to their original code and it still works.

Thanks, looking forward to using the script!
BlueStream
Posts: 2
Joined: Sat Jan 20, 2007 4:50 am

Post by BlueStream »

This works! Thx!
Post Reply