You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vaibhav Arya <va...@otssolutions.com> on 2009/05/15 09:06:10 UTC
[axis2:Generalised Session]
Hi Deepal,
Thanks a lot for you Help,
Please consider the following about our web service session,
We may have different kinds of client requests for the web service. Request
may come through the protocol other than 'HTTP', or some other window
applications, PHP application may send requests. In all cases, we have to
maintain session in web service.
I don't think following 'request' and 'response' objects will work for all
request ('HTTP' and 'NON-HTTP'). You earlier suggested 'transportsession'
for this kind of request. Because 'transportsession' supports cookies.
HttpServletResponse response = (HttpServletResponse)
messageContext.getProperty (HTTPConstants.MC_HTTP_SERVLETRESPONSE);
HttpServletRequest request = (HttpServletRequest)
messageContext.getProperty (HTTPConstants.MC_HTTP_SERVLETREQUEST);
Would you please suggest, what approach should we have, to maintain a
generalised session?
I realize, your suggestion will help a lot.
Thanks & regards,
Vaibhav Kumar Arya
===================================================================================================
Private, Confidential and Privileged. This e-mail and any files and attachments transmitted with it are confidential and/or privileged. They are intended solely for the use of the intended recipient. The content of this e-mail and any file or attachment transmitted with it may have been changed or altered without the consent of the author. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, circulation or Transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this e-mail or any file or attachment transmitted with it in error please notify OTS Solutions at info@otssolutions.com
===================================================================================================