Hello Thai If you are using the Felix HTTP Service, the documentation has a Configuration Properties section[0]. This describes that you can set a property called "org.apache.felix.http.session.timeout". It is documented as follows:
""" Allows for the specification of the Session life time as a number of minutes. This property serves the same purpose as the session-timeout element in a Web Application descriptor. The default is "0" (zero) for no timeout at all. """ I think that's what you may be looking for. Regards Julian [0] https://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#configuration-properties On Wed, Sep 26, 2018 at 8:04 PM Nhut Thai Le via osgi-dev <[email protected]> wrote: > > Hello, > > I'm replacing servlets, servlet filters registration in web.xml with > whiteboard DS, however, in my web.xml i have a section: > <session-config> > <session-timeout>1800</session-timeout> > </session-config> > which i dont know how to port to whiteboard. I didnt see any property for > session to be set on ServletContextHelper in osgi compendium 7 does anyone > have an idea? > > Thai > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
