Seaside每捕获一个continuation,就将它保存在一个字典里直到一段时间过去,会话到期。
Each time Seaside captures a continuation, it stores it in a dictionary until a certain period of time passes and the session expires.
可以用会话 Bean 上下文、到期时间和资源的标识符作为参数来调用 scheduleResourceLifeCycleTask() 方法。
The scheduleResourceLifeCycleTask() method is called with the session bean context, expiry time, and identifier of the resource (calcID) as parameters.
您可以在用户携带到期会话(实际上是一个新的会话)时捕捉该会话,如果认为有必要,就强制他们重新登录。
You can capture when a user arrives with an expired session (really, a new session) and force them to login again if you think this is necessary.
应用推荐