会话超时(session.setMaxInactiveInterval)在Google Appengine中不起作用

我尝试使用session.setMaxInactiveInterval(30*60) 30分钟为特定用户设置会话超时。 但默认情况下,它被分配到86400秒(24小时)。

也在Web.xml中尝试过

  30 // Session timeout assigned for all the users  

看起来HttpSession.setMaxInactiveInterval()不再受AppEngine平台的支持(它曾在以前工作过)。

但是,您仍然可以在web.xml指定会话超时:

  30