1

我正在使用带有模块的 GAE(版本 1.9.14)(https://cloud.google.com/appengine/docs/java/modules/

我相信每个模块都会有自己的会话。任何人都知道如何跨 GAE 模块(即跨域)与 SessionScoped 共享 ManagedBean

即从moduleA 认证的用户并且设置了userSession 对象。

@ManagedBean(name = "userSession")
@SessionScoped
public class UserSession...

当用户切换到 moduleB 时,moduleB 应该能够检索到 moduleA 设置的 userSession 对象。

p/s:我注意到当从一个模块浏览到另一个模块时,设置了相同的 cooie,但 JESSIONID 不同。

有什么帮助吗?

4

0 回答 0