Nov 30th, 2011, 04:34 AM
HttpInvokerServiceExporter and http session/ JSESSIONID
Is there any way to have remote calls from a given client being associated to a given session?
When I monitor the remote calls, I see no JSESSIONIDs set in the remote calls - the server is not setting a cookie.
Sure, there is no reason to create a session for a given request as long as I do not put something in there. So my guess is that I need a filter to create a session if none is there, similar to what spring security does.
Is there any "ready" serlvet that does the trick automatically? I am using the requestcontext listener for the parts of my app that store stuff in the http session, but I cannot tell this listener to "always create a session".