I have a server which has multiple applictions.
However they all share the same login and I wish all the same session information.
I have set them up to use a shared classes and lib area and under webapps I put the JSP pages and any classes that is unique for that application.
So I have /webapps/a/page.jsp
/webapps/b/another.jsp
I would like to share object information across applications ("a" and "b" above).
In my custom tags I set something for SESSSION_SCOPE:
pageConext.setAttributeValue("myVar", "stuff", SESSION_SCOPE)
When I switch to another application (i.e. from "a" to "b" I get another session id (I can see if I print out the cookies) and my attribute value I set in "a" is not visable to "b".
Clearly there is answer to how make things work across applictions. I see that there is a crossContext setting in the Context element in server.xml but setting this to true did not have the desire effect!
Any suggestions I get things to work across applications like I am tring?
thanks
However they all share the same login and I wish all the same session information.
I have set them up to use a shared classes and lib area and under webapps I put the JSP pages and any classes that is unique for that application.
So I have /webapps/a/page.jsp
/webapps/b/another.jsp
I would like to share object information across applications ("a" and "b" above).
In my custom tags I set something for SESSSION_SCOPE:
pageConext.setAttributeValue("myVar", "stuff", SESSION_SCOPE)
When I switch to another application (i.e. from "a" to "b" I get another session id (I can see if I print out the cookies) and my attribute value I set in "a" is not visable to "b".
Clearly there is answer to how make things work across applictions. I see that there is a crossContext setting in the Context element in server.xml but setting this to true did not have the desire effect!
Any suggestions I get things to work across applications like I am tring?
thanks