What is required to create same session on different hosts? There are two stand alone servers. I do not want to setup a cluster environment. I just want the session created in one server is recognized by other
When I request server A with client C, that(server A) will request to server B (with a flag set in header so that it wont go in loop). When I request server B with client C the session is not recognized on server B. what else do I have to do? I tried setting jsession id
I am using apache httpclient to send the request to other server. I have added header and I can see cookie header is same in both server, still its not recognized
request.setHeader("cookie", req.getHeader("cookie"));
Please suggest
@Aadam您尝试过HttpSession吗?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.