[英]jsf view expired imply session destroyed?
I have a question : 我有个问题 :
When jsf view has expired, can we be sure that the session is destroyed and all its attributes are removed ? 当jsf视图过期时,我们可以确定该会话已被破坏并且其所有属性都被删除了吗?
Thank you for responding me. 谢谢您的回复。
No. It's the other way round, provided that javax.faces.STATE_SAVING_METHOD
is set to its default value of server
. 否。相反,只要将
javax.faces.STATE_SAVING_METHOD
设置为其默认值server
。 Then a session destroy indeed implies an expireation of all views saved so far in the session. 然后,会话销毁确实意味着会话中到目前为止保存的所有视图都将过期。 If the state saving is however set to
client
, then the view never expires. 但是,如果状态保存设置为
client
,则视图永不过期。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.