Announcement Announcement Module
No announcement yet.
HttpInvokerServiceExporter and http session/ JSESSIONID Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • HttpInvokerServiceExporter and http session/ JSESSIONID


    Is there any way to have remote calls from a given client being associated to a given session?

    I changed the httpInvokerRequestExecutor property of my proxy beans, using commons httpclient, setting a cookie policy and proxy settings.

    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".