【问题标题】:Session Timeout in Google App Engine Struts 2Google App Engine Struts 2 中的会话超时
【发布时间】:2012-07-13 12:08:40
【问题描述】:

Google App Engine 中的默认会话超时是多少?如何在 Struts 2 应用程序中的 Google App Engine 中设置会话超时。 GAE 会议上有任何参考/文档吗?谢谢

【问题讨论】:

    标签: google-app-engine struts2 session-timeout


    【解决方案1】:

    会话超时设置应通过web.xml 以标准方式完成,App Engine 理想情况下会承认这一点。

    例如

    <session-config>
          <session-timeout>30</session-timeout> 
    </session-config> 
    

    这会将超时设置为 30 分钟。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-02-13
      • 2011-06-14
      • 2013-06-26
      • 1970-01-01
      • 2017-12-12
      • 2023-03-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多