Session Timeout

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Session Timeout

Post 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
There are 10 types of people in this world: Those who understand binary and those who don't.
rodiusd

Re: Session Timeout

Post 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
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: Session Timeout

Post by RussCraig »

Thanks, rodiusd, that's exactly what I was looking for. Now I have sessions timing out after 5 minutes of inactivity.
There are 10 types of people in this world: Those who understand binary and those who don't.
RICHARD RUTA
Profound User
Posts: 40
Joined: Mon Apr 26, 2010 11:53 am
First Name: RICHARD
Last Name: RUTA
Company Name: WILLAM B. MEYER
Phone: 203.984.7175
Address 1: 255 LONG BEACH BLVD
City: STRATFORD
State / Province: Connecticut
Zip / Postal Code: 06615
Country: United States
Contact:

Re: Session Timeout

Post 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?
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Session Timeout

Post by Brian »

How are you trying to open this file?
RICHARD RUTA
Profound User
Posts: 40
Joined: Mon Apr 26, 2010 11:53 am
First Name: RICHARD
Last Name: RUTA
Company Name: WILLAM B. MEYER
Phone: 203.984.7175
Address 1: 255 LONG BEACH BLVD
City: STRATFORD
State / Province: Connecticut
Zip / Postal Code: 06615
Country: United States
Contact:

Re: Session Timeout

Post by RICHARD RUTA »

By entering www/profoundui/conf/httpd.conf in my browser.
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Session Timeout

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests