You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2010/11/08 07:28:12 UTC
[jira] Commented: (FELIX-2687) Make HTTP session timeout
configurable
[ 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.