小编Fed*_*riz的帖子

AWS LB 粘性会话和 SameSite

基于https://www.chromium.org/updates/same-site,如果没有指定 SameSite 属性,cookie 的处理方式会有所不同,因此在创建粘性会话 cookie 时,它​​应该包含 SameSite=None。您知道启用粘性会话时 AWS LB 将如何处理吗?它会被自动处理还是我们应该放置一些特殊的配置?

另一方面,此属性不适用于所有浏览器,因此我想知道是否也将考虑此属性。

提前致谢!

google-chrome aws-load-balancer

6
推荐指数
1
解决办法
6614
查看次数

ExtJS 4.1:卸载事件

我正在使用ext js 4.1.我正在开发一个应用程序,必须支持IE9,最新的FF,最新的Chrome和Safari.

如果有一些数据待提交,我需要在用户想要离开时显示警告消息.

我使用原始java脚本执行了以下操作

window.onbeforeunload=function(){
    if (Ext.getStore('LocalChangesStore')){
        if (Ext.getStore('LocalChangesStore').getCount() > 0) {
            return 'Your changes are be lost.'; 
        } 
    }
};
Run Code Online (Sandbox Code Playgroud)

我想知道是否可以使用ext js.我看到了以下功能

app.js:

EventManager.onWindowUnload( function(){
    if (Ext.getStore('LocalChangesStore')){
        if (Ext.getStore('LocalChangesStore').getCount() > 0) {
            return 'Your changes are be lost.'; 
        } 
    }        
    }, this
);
Run Code Online (Sandbox Code Playgroud)

但它不起作用.

有人可以告诉我哪种方法可以解决这个问题.

在此先感谢费德里科

extjs dom-events extjs4.1

0
推荐指数
1
解决办法
3459
查看次数