Timing out after about an hour. Get error message " No HTTP session" when attempt to execute a screen.
Technical Note USA11837Created 14-Jul-2005Applies To
EXTRA! Mainframe Server Edition 8.1
Presentation Builder 4.0
Presentation Builder 4.0.1
Symptoms
Timing out after about an hour. Get error message " No HTTP session" when attempt to execute a screen.
Fix
Find the web.xml file in the following subdirectory
<drive letter>:\Program Files\Attachmate\HTTPEngine\webapps\epi\WEB-INF
Under this, edit the web.xml file in either wordpad or notepad. Change the following setting according to your needs
<session-config>
<session-timeout>30</session-timeout>
</session-config>
The 30 in this xml tag relates to 30 minutes.
Note: Obviously the danger is that the larger the value here the less likely it is to timeout. If the client disconnects gracefully there is no problems with a large timeout, however, if the client disconnects abruptly then the server will still believe the client is there and retain not only the session on itself but also the session on the host. This could cause the server/host to run out of memory or run out of cpu cycles. It would be advised that this value should not be set above a reasonable amount of time ie. 4hrs = 240.
Did this technical note answer your question?
Need further help? For technical support, please contact
Support.