题
我有一个网页名称BranchMap使用GoogleMap显示出一些建筑物用户后,他已登录。数据是在第一次在保护(需密码)的情况(在CategoiresXML其延伸ProtectedPage)但是我发现,谷歌不可以登录,该系统并使页面扩展的网页。但是现在当我去BranchMap页和按CTRL+F5页期满并且我引用主页。没有人知道原因吗?如果你想要更多的信息告诉我让我放他们。
解决方案
并不完全知道什么你说的是-这不是很清楚的,但是看到,如果这有助于:
这可能发生在某些阿贾克斯呼叫导致页改变,但刷新页面(这是不是书签人)的网址是指已过期版本原因导致这种例外。我有这个问题一点的时候,我们曾多个内部框架呼吁到我们的检票口的应用(对不起,模糊的解释-这是一段时间前)。
最后,对于我们应用程序,我们不得不分割的不同框架的来源为不同的servlet内web.xml -为了完全隔离的届会不同的网页-但这是另一个故事。
尝试加入这个给你的小门应用程序初始化的方法。
// debug code for fixing session issue (multiple ajax using pages inside
// one browser)
get().getPageSettings().setAutomaticMultiWindowSupport(true);
你能告诉堆栈?
哪个版本的门你们使用?
有一点小姐-通信的如果是的话,为什么不试之前的1.4rc3作,修补这里:http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IPageSettings.java?r1=647167&r2=768578&pathrev=768578&diff_format=h
这里的问题: https://issues.apache.org/jira/browse/WICKET-2233
这里是更新评论的如果是的话,为什么不试从IPageSettings:
/**
* Gets whether Wicket should try to support opening multiple windows for the same session
* transparently. If this is true - the default setting -, Wicket tries to detect whether a new
* window was opened by a user (e.g. in Internet Explorer by pressing ctrl+n or ctrl+click on a
* link), and if it detects that, it creates a new page map for that window on the fly. As a
* page map represents the 'history' of one window, each window will then have their own
* history. If two windows would share the same page map, the non-bookmarkable links on one
* window could refer to stale state after working a while in the other window.
* <p>
* <strong> Currently, Wicket trying to do this is a best effort that is not completely fail
* safe. When the client does not support cookies, support gets tricky and incomplete. See
* {@link WebPage}'s internals for the implementation. </strong>
* </p>
*
* @return Whether Wicket should try to support multiple windows transparently
*/
boolean getAutomaticMultiWindowSupport();
不隶属于 StackOverflow