SnippetMaster Support Forums
Return to main website
 
November 04, 2009, 02:12:53 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 04, 2009, 02:12:53 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  How To's & FAQs  |  Topic: Timeout « previous next »
Pages: [1] Print
Author Topic: Timeout  (Read 1387 times)
QwkMedia
Beta Tester

Posts: 10


WWW
[-] Timeout
« on: September 29, 2006, 01:59:28 PM »

How can you either extend or turn off the timeout feature on SMP2?
Report to moderator   Logged

Jim Wood
QwkMedia Services
Media Services That Don't Suck
Jenkinhill
Beta Tester

Posts: 391



[-] 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.
Report to moderator   Logged

Kelvyn
QwkMedia
Beta Tester

Posts: 10


WWW
[-] 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.
Report to moderator   Logged

Jim Wood
QwkMedia Services
Media Services That Don't Suck
Jenkinhill
Beta Tester

Posts: 391



[-] 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. Very Happy  If this is a server issue then certainly Henri can sort it!
Report to moderator   Logged

Kelvyn
admin
Forum Administrator
*
Posts: 2716

SnippetMaster Author


WWW
[-] 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.

Smile

Cheers!
Report to moderator   Logged
QwkMedia
Beta Tester

Posts: 10


WWW
[-] 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.
Report to moderator   Logged

Jim Wood
QwkMedia Services
Media Services That Don't Suck
QwkMedia
Beta Tester

Posts: 10


WWW
[-] 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.
Report to moderator   Logged

Jim Wood
QwkMedia Services
Media Services That Don't Suck
admin
Forum Administrator
*
Posts: 2716

SnippetMaster Author


WWW
[-] 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.

Smile

Report to moderator   Logged
Jenkinhill
Beta Tester

Posts: 391



[-] 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.
Report to moderator   Logged

Kelvyn
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  How To's & FAQs  |  Topic: Timeout « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!