Page 1 of 1

Session Timeout

Posted: Fri May 07, 2010 10:51 am
by RussCraig
In the PUISCREENS display file, I see there is a record format called "TIMOUTSCR", which states "Your session has timed out." How would I go about implementing a session timeout? If this is a pure RPG issue and not related to Profound UI, just say so and I'll look elsewhere. Or if anyone has a quick howto on session timeouts, that would be greatly appreciated.

(edit) I saw this in the Knowledgebase:
Question:
Does this support session timeouts? For example, if I have a high traffic site, I don't want to leave jobs running forever. Is this maybe a config setting.

Answers:
Yes, session timeouts can be configured. When the solution is first installed, the sessions are set up to effectively never time out, to provide consistency with the typical green-screen setup.

However, you can set the timeout to any desired value using a simple HTTP server configuration setting.
Does anyone have a basic howto on configuring the HTTP server?

Thanks,
-RC

Re: Session Timeout

Posted: Mon May 10, 2010 3:26 am
by rodiusd
Check out the config file for the Apache server:

Browse : /www/profoundui/conf/httpd.conf
Record : 24 of 58 by 18 Column : 1 37 by 131
Control :

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+...

MaxCGIJobs 1000
MaxPersistentCGI 1000
PersistentCGITimeout 3600
Timeout 3600

Re: Session Timeout

Posted: Mon May 10, 2010 9:14 am
by RussCraig
Thanks, rodiusd, that's exactly what I was looking for. Now I have sessions timing out after 5 minutes of inactivity.

Re: Session Timeout

Posted: Thu Sep 15, 2011 10:33 am
by RICHARD RUTA
When I try to go to www/profoundui/conf/httpd.conf to see how to configure the server, I get the message "Oops! www/profoundui/conf/httpd.conf seems to be having issues. " Any suggestions?

Re: Session Timeout

Posted: Thu Sep 15, 2011 10:41 am
by Brian
How are you trying to open this file?

Re: Session Timeout

Posted: Thu Sep 15, 2011 11:00 am
by RICHARD RUTA
By entering www/profoundui/conf/httpd.conf in my browser.

Re: Session Timeout

Posted: Thu Sep 15, 2011 3:14 pm
by Brian
httpd.conf is a configuration text file in the IFS on your system. You can edit it by going to a command line and entering:

WRKLNK '/www/profoundui/conf'

Then put a 5 next to the conf library. You should see the httpd.conf file and you can use option 2 to edit it.