On Thu, Jan 28, 2010 at 7:25 AM, Sumedha Rubasinghe <[email protected]>wrote:

> There are two sessions involved. Azeez is talking about Axis2 Session.


Isn't SO_TIMEOUT, and CONNECTION_TIMEOUT mentioned in the axis2_client.xml
related to this?


> There is also servlet/web session. Time out for this can be controlled via
> web.xml.
>

I have noted this.

Thanks,
Senaka.

>
> This is what the servlet spec says:
> "In the HTTP protocol, there is no explicit termination signal when a
> client is no
> longer active. This means that the only mechanism that can be used to
> indicate when
> a client is no longer active is a timeout period.
>      The default timeout period for sessions is defined by the servlet
> container and
> can be obtained via the getMaxInactiveInterval method of the HttpSession
> interface. This timeout can be changed by the Developer using the
> setMaxInactiveInterval method of the HttpSession interface. The timeout
> periods used by these methods are defined in seconds. By definition, if the
> timeout
> period for a session is set to -1, the session will never expire.
> "
>
> /sumedha
>
>
>
>
>
> On Thu, Jan 28, 2010 at 7:18 AM, Afkham Azeez <[email protected]> wrote:
>
>> It cannot be done using a configuration parameter as of now. It has been
>> hard coded in the clients, and all the clients will have to be updated &
>> compiled. Looks like it is time to introduce a param to carbon.xml
>>
>> Azeez
>>
>> On Thu, Jan 28, 2010 at 1:17 AM, Senaka Fernando <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> How could $subject be done?
>>>
>>> Thanks,
>>> Senaka.
>>>
>>> --
>>> Senaka Fernando
>>> Software Engineer
>>> WSO2 Inc.
>>> E-mail: [email protected];  Mobile: +94 77 322 1818
>>>
>>> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> --
>> Afkham Azeez
>> [email protected]
>> WSO2 Inc. http://wso2.com
>> Blog: http://afkham.org
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: [email protected];  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to