I am curious to know if this is possible:
Hosts web application A in weblogic application server.
Hosts portet P, in JBOSS application server.
Now, in web application A, I am creating some XML file. Can i place the XML file in session and pass it to portlet P hosted in Physical sever B.
Like, in web-app "A" have a link for portlet-P (hosted in physical server-B), so while clicking on the link, it redirects to portlet-P, and sends the data to P. Now, can we have session that can be "transferred" from web-application A, to portlet P?
If this isn't achievable, then are there any other alternatives, please suggest.
Best Regards
You will not be able to share session directly between two applications, because the cookie set by www.abc.com/app1
will not be sent to www.abc.com/app2
.
But you when you have a session on server1, you can send the required details to server2 and create a session. So that you will have same session on both servers.
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.