1 Reply Latest reply on Apr 22, 2011 6:08 AM by andres margalef

    Urgent Help : Flex BlazeDS Java Session Handling

    Arsohoh

      Hi ,

       

      Am facing issue with session timeout. Say for instance, the user logs into the application and he waits for 30 mins (session timeout time) and then tries to get a service through remote object.Ideally speaking, since the session has timeout the user shouldn't be able to hit the remote object, but this is happening the other way round.

       

      web.xml entry :

          <session-config>
            <session-timeout>30</session-timeout>
          </session-config>

       

      Also, after 30 minutes am getting to see the log that seesion is invalidated,

       

      [BlazeDS][DEBUG] FlexSession with id 'NptXYyBYTSLnj2VTGXQG9XgXQkyYt6qkZqjH7gph1G4W9xGX0L4M!-606043102!1302965559488' for an Http-based client connection has been invalidated.

       

      But still if user tries to invoke the new service, the remote service call is happening. I want it to throw some exception when the session is expired where in I can catch it and show to the user as " Session Expired!!!"

       

      Please let me know if am missing anything. Please its really urgent.

       

      Note: Server: Weblogic 9.1

       

      Also Note that, am not using Spring framework. Its just a basic remoting-config/Services-config calls.

       

      Thanks.

       

      Message was edited by: Arsohoh