cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

web.xml - adjusting the session configuration

Former Member
0 Likes
424

I recently applied SP07 for NW7.01 to one of our portals, and since doing this I can not find where to make adjustments for the session timeout. It used to be defined in the web.xml, does anyone know where it was moved to?

I used to go here:

/usr/sap/<SID>/JC##/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/web.xml and adjust the default of 30 as necessary. Where is this value found now?

I can also make the adjustment from the visual administrator under web container> properties> Session Timeout and this requries a restart of the web container service.

From SAP HELP:

Specifying HTTP Session Timeout

You can specify a timeout period for HTTP sessions created in your Web application. If the session is inactive for this timeout period, it is invalidated by the Web container.

If you do not specify such a timeout explicitly, a default one of 30 minutes is assumed.

You can configure the HTTP session timeout using the web.xml descriptor.

Procedure

On the web.xml screen, proceed as follows:

...

1. Open the General screen.

2. To specify the timeout period, enter a value in the Session configuration u2013 Session timeout field.

The value is specified in minutes. If you enter a negative value in this field, HTTP sessions are never terminated because of a timeout. Instead, only an explicit logout by the user will terminate the corresponding session.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hello David.

The help article is about custom development using NWDS. For adjusting session timeout system wide refer to .

Best regards,

Aliaksandr Zhukau

Former Member
0 Likes

Excellent reply, note Note 1144722 - Global configuration of session cookies and attributes is exactly what I was looking for!

Answers (0)