RaviKumar
RaviKumar

Reputation: 56

Default Session time out in JSF

I have one login page of JSF application. Once I left login page idle for 30 minutes or more than that, then input login id and password and submit button than getting message:

The website cannont display the page - an HTTP 500 error.

while i did not configure anywhere timeout in application and I am using web sphere server for deploying the application.

Upvotes: 1

Views: 2287

Answers (1)

RaviKumar
RaviKumar

Reputation: 56

<session-config>
<session-timeout>-1</session-timeout>
</session-config>

above code in web.xml file solve my problem. Thanks everybody for your help.

Upvotes: 1

Related Questions