Page 1 of 1

Session timeout always six minutes

Posted: Fri Jun 14, 2013 8:00 am
by ChrisH

Code: Select all

#The following control session timeout and should all be set to the same value.
SetEnv PUI_TIMEOUT 90000
MaxPersistentCGITimeout 90000
Timeout 9000
All sorts of values have been tried, but it times out regardless. This is on 4.12



Code: Select all

PUI0003    Escape                  40   06/14/13  07:45:35.023222  PUIMSGC      PUI8904     *STMT    PUI0001200  PUI8904 
                                     From user . . . . . . . . . :   QTMHHTP1                                            
                                     From module . . . . . . . . :   PUIMSGB                                             
                                     From procedure  . . . . . . :   msg_SendMessage                                     
                                     Statement . . . . . . . . . :   5                                                   
                                     To module . . . . . . . . . :   PUI0001200                                          
                                     To procedure  . . . . . . . :   main                                                
                                     Statement . . . . . . . . . :   264                                                 
                                     Message . . . . :   The session has timed out.                                      
                                     Cause . . . . . :   The persistent session is no longer active. Recovery  . .       

Re: Session timeout always six minutes

Posted: Fri Jun 14, 2013 11:45 am
by ChrisH
apparently I need this back...

PersistentCGITimeout

If I have a value for that I do not time out in six minutes.

Re: Session timeout always six minutes

Posted: Fri Jun 14, 2013 12:09 pm
by David
That's odd...

4.1.2 should use the first method that you were trying. That is the current method of controlling the timeouts, and was introduced in 4.1.0.

Perhaps there was a bug that still made PersistentCGITimeout required?

I would suggest going with that if it's working for you, but be aware of this when you do update to later version and use the current method, as PersistentCGITimeout will not work in recent releases.

Sorry for any confusion.

Re: Session timeout always six minutes

Posted: Fri Jun 14, 2013 12:38 pm
by ChrisH
Yeah I was under the impression I no longer needed that keyword either. I even found a thread here which linked to an article that instructed removal of that keyword.

Regardless, its working now. Having a easy to search forum gave me new ideas to try which made solving the issue easier.

thank you for your reply. Will keep it in mind when we upgrade.