开发者

multiple domain session handling in servlets

I need to share sessions between multiple domains.

By multiple domain I mean, I have one instance of tomcat6 running. And I can access my web开发者_JS百科app using urls localhost:8080/webapp/test.jsp and myhostname:8080/webapp/test.jsp (as I configured dns entry in hosts file)

Now, The javascript fires ajax calls to localhost:8080/webapp/ActionA and myhostname:8080/webapp/ActionB

Now it will throw an error for the invalid session.

If javascript fires ajax calls to localhost:8080/webapp/ActionA and localhost:8080/webapp/ActionB it will work fine.

Can some one suggest some ways to implement this.

-Thanks


You probably need a proper Single sign-on implementaion. Try one of the OpenId providers like Google, Yahoo, MSN

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜