1 Reply Latest reply: Mar 21, 2014 3:37 AM by David.De-Oracle RSS

    Session Time-out For Atg Component

    983427

      Hi All,


      Can anyone please clarify regarding Session handling in atg

       

      1)What is the use of the \atg\dynamo\servlet\sessiontracking\SessionManager.sessionInvalidation: because session will be handled by App server and configured in web.xml

      2)How does Atg components session are handles or expired

      3)How can we customize or set two different session timeouts for two custom component.

       

      Thanks in Advance.

      Rgds

      Mahesh

        • 1. Re: Session Time-out For Atg Component
          David.De-Oracle

          Hi,

           

          if you have a support agreement with Oracle then you should be able to access the following Knowledge Article:

           

          How ATG Session Management Works on WebLogic, JBoss, and WebSphere (Doc ID 1364857.1)

           

           

          which explains in some detail how session management works with Oracle web Commerce.

           

           

          In short the Application server is responsible for session creation and invalidation. The create and invalidate messages are reported back to Oracle Web Commerce by an

          atg.servlet.SessionBindingReporter object (which implements the javax.servlet.http.HttpSessionBindingListener interface) which is added to each web application session as an attribute.It is this mechanism that handles session scoped component expiration.

           

          As you know session timeout is web application specific so what you want to do seems to be breaking this rule. Have you ruled out using a request scoped component? Though without knowing exactly what your requirements are it is difficult to suggest an alternative approach.

           

          David

           

          Please mark the answer as helpful or correct if it assists.