Pages: [1] |
|
|
Author |
Topic: Timeout (Read 1387 times) |
QwkMedia
Beta Tester
Posts: 10

|
[-]
|
Timeout
« on: September 29, 2006, 01:59:28 PM »
|
|
How can you either extend or turn off the timeout feature on SMP2?
|
Jim Wood
QwkMedia Services
Media Services That Don't Suck
|
|
|
Jenkinhill
|
[-]
|
Re: Timeout
« Reply #1 on: September 29, 2006, 02:06:00 PM »
|
|
Timeout is a server issue. If you are able to edit php.ini on your server then look at Resource Limits and perhaps increase max_execution_time
Other factors causing timeouts could be a slow server, too many sites on a shared host or poor bandwidth.
|
Kelvyn
|
|
|
QwkMedia
Beta Tester
Posts: 10

|
[-]
|
Re: Timeout
« Reply #2 on: September 29, 2006, 02:15:05 PM »
|
|
it's hosted on ET Wehosting... Henri's service. Which I find VERY good. The client using the software is a writer so he spends 30 min (or more) on a page and then hits save but it's timed out and doesn't save because of the timeout. It's a program timeout message too, so it's not from the server. It will redirect to login.
|
Jim Wood
QwkMedia Services
Media Services That Don't Suck
|
|
|
Jenkinhill
|
[-]
|
Re: Timeout
« Reply #3 on: September 30, 2006, 01:51:16 AM »
|
|
30 minutes plus is a long time! I suspect this could be the session being cleared from the server - the time before clearance of an "inactive" session is set by session.gc_maxlifetime
On the servers I use php.ini contains the setting session.gc_maxlifetime = 1440 (this is the time in seconds before the session is closed, 1440 secs = 24 minutes) This can be changed by editing php.ini or by the use of .htaccess
Good to see you are using a good professional hosting service.  If this is a server issue then certainly Henri can sort it!
|
Kelvyn
|
|
|
admin
Forum Administrator

Posts: 2716
SnippetMaster Author
|
[-]
|
Re: Timeout
« Reply #4 on: September 30, 2006, 04:18:57 AM »
|
|
Hi Jim,
To be honest, I'm not sure if we can change the server value for the timeout.. I'm not sure if it's a "server wide" setting, or if it can be adjusted "per account" with an apache .htaccess directive.
The best thing to do is submit a helpdesk ticket into our system and the tech guys will get this sorted out for you. (http://helpdesk.etwebhosting.com)
Just point them to this thread and tell them you would like the timeout time to be changed to one hour (or whatever), if possible.
Cheers!
|
|
|
|
QwkMedia
Beta Tester
Posts: 10

|
[-]
|
Re: Timeout
« Reply #5 on: October 03, 2006, 06:21:14 AM »
|
|
It honstly looks like a timeout from the program...not the server. After it tells you your session has expired after about 25 min of inactivity it says "Please log back in by clicking here. (you will be automatically logged back in if you previously chose to remember your login details.)". I put a screen shot of the error online at http://www.allviolinacademy.com/time_out_error.gif so you can see it. That page only stays up for a few seconds before it is forwarded back to SnippetMaster.
|
Jim Wood
QwkMedia Services
Media Services That Don't Suck
|
|
|
QwkMedia
Beta Tester
Posts: 10

|
[-]
|
Re: Timeout
« Reply #6 on: October 03, 2006, 06:22:07 AM »
|
|
I did try what the admins said to, but it did not work.
|
Jim Wood
QwkMedia Services
Media Services That Don't Suck
|
|
|
admin
Forum Administrator

Posts: 2716
SnippetMaster Author
|
[-]
|
Re: Timeout
« Reply #7 on: October 03, 2006, 06:37:08 AM »
|
|
It's definately caused by the server. What happens is that Snippetmaster "checks" to see if the PHP Session is still active. If so, then all is well... if not (php session has expired on the server) then snippetmaster displayes the "session has timed out and you must re-login" message you are seeing.
Can you update the helpdesk ticket at ET Web Hosting and let them know it didn't work? They'll work with you to get this going, if possible. Honestly, I'm not sure it can be changed as I'm not sure if this setting is a server-wide configuration or can be modified on a per-account basis.. but my tech guys will be able to figure this out with you.
|
|
|
|
Jenkinhill
|
[-]
|
Re: Timeout
« Reply #8 on: October 03, 2006, 06:46:11 AM »
|
|
It honstly looks like a timeout from the program...not the server. After it tells you your session has expired after about 25 min of inactivity it says "Please log back in by clicking here.
This still looks like the session being closed by the server, which effectively logs you out. It looks like you are trying .htaccess as a look at your current site phpinfo shows that local session.gc_maxlifetime is now set to 28800 (8hrs) which should be plenty! I wonder if the .htaccess file needs to be in a different directory? Anyway, the sever admins should be able to sort this out.
|
Kelvyn
|
|
|
|
Pages: [1]
|
|
|
|