Welcome, Guest
Username: Password: Remember me

TOPIC: Error: We are sorry but your session has expired

Error: We are sorry but your session has expired 1 year 7 months ago #84814

  • RAK
  • RAK's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
php.pdf

I hope you can help me:
Some people who fill in my survey get an error saying the session has expired
and they are kicked out of the survey. What I hear from them is that they are not particulary slow (max 10-15min for the whole survey). And, if the same people fill in the survey again sometimes they do get through (sometimes they have to try up to 5
times, but most then give up). This indicates it does not depend on the browser/operating system/ect. But this makes the problem also difficult to reproduce. I am also not sure if it really depends on doing nothing, since once I tried to be slow but then forgot about the whole survey all together and remembered it 20 minutes later or so and I could still
continue without problems.

What I already did:
Set session lifetime at 7200 (secs) in the LS administration page
Adjust the php settings and ini settings:
upload_tmp_dir = "/tmp"
session.save_path = no value (default is /tmp)
session.gc_maxlifetime = 1440
register_globals = Off
memory_limit = 64M
max_input_vars = 2000 (but in the php.info attached I see it is still at 1000)

Check attached file for more info on php settings.

Some other info:
LimeSurvey build number: 120808
Database: MySQL
Operating System (Server): Linux

If you need more info, please do not hesitate to ask. I am new at this, so I am
not sure what to include and what not.
The administrator has disabled public write access.

Re: Error: We are sorry but your session has expired 1 year 7 months ago #84815

  • RAK
  • RAK's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
BTW I did post the same question yesterday but then I had even less of a clue what I was doing then now, so I was asking all the wrong questions. I hope you guys forgive me for posting a new question!
The administrator has disabled public write access.

Re: Error: We are sorry but your session has expired 1 year 7 months ago #84817

  • RAK
  • RAK's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Mmmm... my attachment was not included. Let me copy the most likely suspects:

register_globals Off
max_input_vars 1000
memory_limit 266M
session.save_path /tmp
session.gc_maxlifetime 1440
upload_tmp_dir no value (ie default is: /temp)

Some other things with time in the name (which I did not adjust):
max_input_time-1
max_execution_time 75
mysql.connect_timeout 60
default_socket_timeout 60
The administrator has disabled public write access.

Re: Error: We are sorry but your session has expired 1 year 7 months ago #84823

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 5856
  • Thank you received: 716
  • Karma: 222
Hello,

Can you have a look at the server state when this happens .
You have a lot of answerer at the same time ?

Denis
The administrator has disabled public write access.

Re: Error: We are sorry but your session has expired 1 year 7 months ago #84824

  • RAK
  • RAK's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Thanks for your message!
How can I see the time at which responders start? When I download the data I can only see the time at which they send the data (and most people never get to sending the data since they are kicked out earlier). or can I see this somewhere in the LimeSurvey admin pages
The administrator has disabled public write access.

Re: Error: We are sorry but your session has expired 1 year 7 months ago #84827

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 5856
  • Thank you received: 716
  • Karma: 222
You don't have acces at the server log ?

Did you host can you provide if the CPU are OK at the same time ?
You can have a lot of memory, but with a little CPU or with a little MaxClient, the apache can be overloaded (even with a HTML page if there are a lot of client).

Denis
The administrator has disabled public write access.

Re: Error: We are sorry but your session has expired 1 year 7 months ago #84830

  • RAK
  • RAK's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
For today I can no longer reach my host. I tried to find something on server logs, CPU or MaxClient on my Control Panel but could not find anything. But I do not think there are massive amounts of people. The site is online since Saturday and around 400 people tried to fill in the survey (probably 40 are me trying to reproduce the problem, but failed). So maybe max 10 people an hour?
The administrator has disabled public write access.

Re: Error: We are sorry but your session has expired 1 year 7 months ago #84896

  • RAK
  • RAK's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Since my host was very uncooperative I switched hosts and now it seems ok. If the problem reappears they are willing to check the server logs etc.

I also heard from a friend that bad/cheap hosts sometimes restart the server (since so many clients on one server take a lot of memory) and that therefore the current sessions of the sites will be cancelled. Maybe that is what happened.

For Dutch people looking for webhosting: Do not use Hostnet!!

(ps I will close the topic now, if I can find how ;)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.117 seconds
Donation Image