[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    Re: [jira] [Created] (AXIS2C-1566) Client sends cookie only just
From:       Damitha Kumarage <damitha () wso2 ! com>
Date:       2011-11-16 3:54:46
Message-ID: 4EC333A9.2060004 () wso2 ! com
[Download RAW message or body]

Hi Akira,
Akira Suzuki (Created) (JIRA) wrote:
> Client sends cookie only just after server sends Set-Cookie header
> ------------------------------------------------------------------
> 
> Key: AXIS2C-1566
> URL: https://issues.apache.org/jira/browse/AXIS2C-1566
> Project: Axis2-C
> Issue Type: Bug
> Components: transport/http
> Affects Versions: 1.7.0
> Reporter: Akira Suzuki
> 
> 
> Client sends cookie only just after server sends Set-Cookie header
> 
> 1. client requests to server without cookies
> 2. server responses with set-cookie header
> 3. client requests with cookie  //OK
> 4. server responses without set-cookie headers
> 5. client requests without cookies  // I think client should send cookie.
> 
> I removed below lines from http_sender.c and that makes client to send cookie but I \
> don't know that is a proper fix. 
> if(!set_cookie_header_present) /* We need to remove any cookie set previously for \
> this endpoint */ {
> axis2_http_transport_utils_store_cookie(env, msg_ctx, NULL);
> }
> 
Yes this is the correct place to do the change. But we may need to 
handle session expiration handling as well in the client side to check 
whether cookie is expired

Thanks,
Damitha
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: \
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
> information on JIRA, see: http://www.atlassian.com/software/jira 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-dev-help@axis.apache.org
> 
> 
> 


-- 
__________________________________________________________________

Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/

blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic