Session Expired
Moderator: mkoch227
POST and GET are HTTP methods and have nothing to do with PHP being version 4 or 5. All versions of PHP support both methods.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
I get the same problem. The process in which I can actually use it is this.
I have to delete the cookie that is put in by Hesk. Once I delete the cookie then I am to log into the admin section. The problem is that if I close the window and I want to revisit the admin page, I have to delete the cookie again.
I have to delete the cookie that is put in by Hesk. Once I delete the cookie then I am to log into the admin section. The problem is that if I close the window and I want to revisit the admin page, I have to delete the cookie again.
Same problem.I get the same problem. The process in which I can actually use it is this.
I have to delete the cookie that is put in by Hesk. Once I delete the cookie then I am to log into the admin section. The problem is that if I close the window and I want to revisit the admin page, I have to delete the cookie again.
Any solutions?
I am back, as a member.Any solutions?

I have found one solution, but WARNING, I am no expert.
Found a line in PHP.INI(in /etc); Session auto start. Changed that from 0 to 1 and everthing works fine.
Don't know what it does, but it works.
Anyone got more info on the effect of this?
Thanks.
Dag from Norway.
This is from the manual:
session.auto_start boolean
session.auto_start specifies whether the session module starts a session automatically on request startup. Defaults to 0 (disabled).
By setting it to 1 all your scripts will start sessions automatically.
session.auto_start boolean
session.auto_start specifies whether the session module starts a session automatically on request startup. Defaults to 0 (disabled).
By setting it to 1 all your scripts will start sessions automatically.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
session has expired
Dear Klement,
I want to really thank you for that great SW, but again want to ask if you plan to repair the ssesion eror on PHP5: session has expired
I can´t downgrade my PHP because runing very big intranet apps based on PHP5.
Please could you just give me some hint how to solve the problem with the:
session has expired error witch is just in HESK, in other apps are sessions OK, I also made your Sessions tests and its ok.
many thanks in advance for your help
best regards
Jan
admin@ttesa.cz
I want to really thank you for that great SW, but again want to ask if you plan to repair the ssesion eror on PHP5: session has expired
I can´t downgrade my PHP because runing very big intranet apps based on PHP5.
Please could you just give me some hint how to solve the problem with the:
session has expired error witch is just in HESK, in other apps are sessions OK, I also made your Sessions tests and its ok.
many thanks in advance for your help
best regards
Jan
admin@ttesa.cz
I'm not even sure what is wrong, I haven't yet made any tests with php5.
Do you have MySQL enabled in your php5 (it isn't by default!)?
Do you have MySQL enabled in your php5 (it isn't by default!)?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
quick and dirty fix
For all of you that have this bug, try editing the mysql database. Change the password for the admin account, then log in with that password. This will allow you access to the admin feature. Hope that helps everyone.
By the way, nice script.
By the way, nice script.
Re: quick and dirty fix
Hmm, why would that make any difference?Anthony wrote:For all of you that have this bug, try editing the mysql database. Change the password for the admin account, then log in with that password.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
some ideas ?
Hi All,
still seems we haven´t any solution ! What about you Klemen ? do you have some ideas how to solve it.
thanks for help
yours
Jan
still seems we haven´t any solution ! What about you Klemen ? do you have some ideas how to solve it.
thanks for help
yours
Jan
Hi:
I´ve been trying everything posted here without success.
Is a pitty because it´s a cool software, right what i was looking for but I must make it work on PHP5 because there are more applications in that server that need it.
This are my logs, hope it helps.
I´ve been trying everything posted here without success.
Is a pitty because it´s a cool software, right what i was looking for but I must make it work on PHP5 because there are more applications in that server that need it.
This are my logs, hope it helps.
Code: Select all
[client 192.168.XX.XX] PHP Notice: Undefined index: a in /var/www/html/hesk/index.php on line 43
[client 192.168.XX.XX] PHP Notice: Undefined index: a in /var/www/html/hesk/admin.php on line 43
[client 192.168.XX.XX] PHP Notice: Undefined variable: hesk_settings in /var/www/html/hesk/inc/header.inc.php on line 35
[client 192.168.XX.XX] PHP Notice: Undefined variable: hesklang in /var/www/html/hesk/inc/header.inc.php on line 36
[client 192.168.XX.XX] PHP Notice: Undefined index: notice in /var/www/html/hesk/admin.php on line 104
[client 192.168.XX.XX] PHP Notice: Undefined index: goto in /var/www/html/hesk/admin.php on line 140
[client 192.168.XX.XX] PHP Notice: Undefined index: goto in /var/www/html/hesk/admin.php on line 78, referer: http://192.168.XX.XX/hesk/admin.php
[client 192.168.XX.XX] PHP Notice: Undefined variable: hesk_settings in /var/www/html/hesk/inc/header.inc.php on line 35, referer: http://192.168.XX.XX/hesk/admin.php
[client 192.168.XX.XX] PHP Notice: Undefined variable: hesklang in /var/www/html/hesk/inc/header.inc.php on line 36, referer: http://192.168.XX.XX/hesk/admin.php
hello
Please to meet you. Perhaps a solution, now it works for me.
Thirst of all: i was using an old version of the software, not too much: after some months i discovered someone added a category and changed my password.
I've updated hesk to the last and also to the very last php 4.4.x. Oh, i've also installed italian traslation file.
Now the some problem of session.
I've opened admin.php file, in line 98 there is the session error recognition:
<h3 align="center">Login</h3>
<?php
if ($_REQUEST['notice']) {
echo "<p align=\"center\" class=\"important\">Your session has expired, please login using the form below.</p>";
}
?>
Now, for debug purpouse, i've tried to print out $_request notice:
<h3 align="center">Login</h3>
<?php
if ($_REQUEST['notice']) {
echo $_REQUEST['notice']."<p align=\"center\" class=\"important\">Your session has expired, please login using the form below.</p>";
}
?>
I develop also in php, but i still don't know php as a professional.
The very strange fact is now works.
I'd like to understand, so i made other changes in line 98.
The result ? changing in every way text in line 98 the script works. And now i changed to the previous one, to the original: it works too...
I'm becoming mad.
I can't believe: i login and logout without problems, even with opera and explorer.
I'm on windows.
Thirst of all: i was using an old version of the software, not too much: after some months i discovered someone added a category and changed my password.
I've updated hesk to the last and also to the very last php 4.4.x. Oh, i've also installed italian traslation file.
Now the some problem of session.
I've opened admin.php file, in line 98 there is the session error recognition:
<h3 align="center">Login</h3>
<?php
if ($_REQUEST['notice']) {
echo "<p align=\"center\" class=\"important\">Your session has expired, please login using the form below.</p>";
}
?>
Now, for debug purpouse, i've tried to print out $_request notice:
<h3 align="center">Login</h3>
<?php
if ($_REQUEST['notice']) {
echo $_REQUEST['notice']."<p align=\"center\" class=\"important\">Your session has expired, please login using the form below.</p>";
}
?>
I develop also in php, but i still don't know php as a professional.
The very strange fact is now works.
I'd like to understand, so i made other changes in line 98.
The result ? changing in every way text in line 98 the script works. And now i changed to the previous one, to the original: it works too...
I'm becoming mad.
I can't believe: i login and logout without problems, even with opera and explorer.
I'm on windows.
hello ... n.2
I've discovered what happened: i've reinstalled old admin.php , not the latest: Version: 0.93b from July 5, 2005 (patch 0.93.1)
I think this upgrade should patch the unauthorized access i discovered, but it doesn't work.
However solution should be starting from line 98, even in new version.
I think this upgrade should patch the unauthorized access i discovered, but it doesn't work.
However solution should be starting from line 98, even in new version.
Printing out $_REQUEST['notice'] doesn't have anything to do with sessions working or not. When testing always download the latest version from
http://www.phpjunkyard.com/free-helpdesk-software.php
http://www.phpjunkyard.com/free-helpdesk-software.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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