felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Valchev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2687) Make HTTP session timeout configurable
Date Mon, 08 Nov 2010 06:28:12 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929470#action_12929470

Valentin Valchev commented on FELIX-2687:

You can already do this per servlet. As example, when you receive a post request, then in
doPost() method you can have the following line:

((HttpServletRequest) request).getSession().setMaxInactiveInterval(15 * 60);

Yes, it might be nice to have this configuration option for completeness, but too much configuration
options might be confusing too. If any application needs a special timeout, then maybe the
appropriate way is that this application will set the configuration that it needs.

> Make HTTP session timeout configurable
> --------------------------------------
>                 Key: FELIX-2687
>                 URL: https://issues.apache.org/jira/browse/FELIX-2687
>             Project: Felix
>          Issue Type: Improvement
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>         Environment: apache-karaf-2.1.0 on openjdk-6b18/Linux
>            Reporter: Wolfgang Glas
> Hi all,
>   ThX very much for the really smooth http service packaging ;-)
>   According to the docs and to my code review there is no possibility to configure the
HTTP session timeout in felix' HTTP service bundle.
>   It would be very much appreciated, if such a possiblity might be introduced in a future
version of HTTP service.
>    TIA and best regards,
>     Wolfgang Glas

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message