如何显示一份报告,显示所有当前的海滨会议及其预期到期时间?
self session application sessionsDo: [:each |
html text: 'Session For ',((each properties values at: 1) username),' Expires At: '.
html render: (Time now addSeconds: (each application cache expiryPolicy timeout)).
html break].
但是,这显示了错误的结果,因为它显示所有会话同时到期,即距现在时间 600 秒。我找不到另一种方法来获得“剩余时间”。
世界末日?(卢卡斯会做什么)?
KR 尘土飞扬