会话超时(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
- AppEngine Memcache过期策略
- appengine-maven-plugin配置选项,如jvm标志
- appspot xmpp与jabber.org交谈
- 在Cloud Endpoints Frameworks 2.0 for App Engine中增强端点
- google appengine不支持FileOutputStream
- 在谷歌应用引擎上像冥王星或jetspeed一样的Portlet容器?
- java,驱动APIv2,appengine 1.7.3,struts2.3.4.1,OAuth2。 TokenResponseException:400 OK invalid_grant
- 如何在ContainerRequest中获取会话对象以使用注释@RolesAllowed(Role_user)?
- 谷歌云端点(app engine)+ oauth2与android集成