1 Reply Latest reply on Feb 17, 2009 9:01 PM by ergautam

    Ajax Request and Session prolongation

    speleomaniac

      Hi everybody,

      I have a question...

      We have a portal application which we build some Ajax functionality for it with JBoss Portletbridge and Richfaces....

      We have an Ajax Poll in one of the web page and we are expecting that pool prevent that our portal application would get Session Timeout but that is not happening...

      Our portal application is getting a timeout even that Ajax Poll sending requests. I look to the Ajax Poll requests and I see that they are not going to the /portal URL but to the individual deployed Web applications....

      I think that is the reason Portal is getting session prolongation.

      I am not sure this by design or this is a bug. If somebody says this is a bug I would report this to some project JIRA (I am not sure to which one,Portal, Richfaces, Portletbridge?)

      Thx for the answers...

        • 1. Re: Ajax Request and Session prolongation
          ergautam

          HI,

          To keep your portal session alive, you will have to send Ajax request to a servlet that is configured in JBOSS_PORTAL_HOME/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml.

          I have done this in my project and it works fine.