Log in

View Full Version : PHP Sessions expires without a reason



GoogleQuality
11-17-2008, 01:07 PM
hi

i have a strange problem

my php.ini session expiration date are set to infinity so no session variables will expire without an internal code to unset it.

the problem is :
we have done an online exam to some employees, i have a session variables that controls movement from page to another. when i checked the mysql database i found that there r about 5 users who have completed the exam but there scores are zero and this will only happend if thier sesison is destroyed or unset, the strange thing is that the other employee have completed the exam without this thing happend, i mean thier scores is correct and not a zero.
i noticed that at sometime some computer had a disconnect in the network then reconnect again.

could that be the couse of the problem. what do you thing will be the couse. do sessions need time to initialize or what

thank you