How can I set session timeout so that it never expires?

前端 未结 1 1685
慢半拍i
慢半拍i 2021-01-22 11:31

How can I set session timeout so that it never expires? It\'s for a Java EE web application.

1条回答
  •  执笔经年
    2021-01-22 12:10

    Specify a negative time.

    
        -1
    
    

    The benefit is however questionable. The webapp will leak memory away on long term. Think twice before you do this.

    0 讨论(0)
提交回复
热议问题