axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-226) Provide session handling suport (cookies)
Date Mon, 01 Nov 2004 08:19:33 GMT
     [ http://nagoya.apache.org/jira/browse/AXISCPP-226?page=comments#action_54870 ]
     
Samisa Abeysinghe commented on AXISCPP-226:
-------------------------------------------

>From http://www.fawcette.com/javapro/2003_04/online/wsdl_kjones_04_29_03/default_pf.aspx
:
There is no standard way of managing session in a Web service, although there are two accepted
techniques. The first is to rely on HTTP and use HTTP cookies. The second, and probably the
most significant way, is to use SOAP headers. Axis Java lets developers do both.

Using HTTP managed sessions is the default in Axis Java. 
This will cause the Axis framework to generate a set-cookie header:
Set-Cookie: 
JSESSIONID=49EBBB19A1B2F8D10EE075F6F14CB8C9; 
Path=/axissessions

A client needs to return this Cookie in a Cookie header to maintain the session. 
The header looks like this: 
Cookie: 
JSESSIONID=49EBBB19A1B2F8D10EE075F6F14CB8C9
 

Using SOAP headers to carry the session id. 
Axis Java comes with a handler called org.apache.axis.handlers.SimpleSessionHandler that provides
SOAP header based session management. 

> Provide session handling suport (cookies)
> -----------------------------------------
>
>          Key: AXISCPP-226
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-226
>      Project: Axis-C++
>         Type: Improvement
>   Components: Transport (Client), Transport (Server)
>  Environment: All platforms
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.4 Alpha

>
> There is no mechanism to handle sessions.
> Provide caapability to deal with cookies; first for the client; then if possible for
server

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message