Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3714

Sessions.getCurrent() returns null during WebSocket AU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 8.5.0
    • Freshly, 8.5.0
    • ZK Update Engine
    • Security Level: Jimmy
    • version: 8.5.0.FL.20170801

      <listener-class>org.zkoss.zkmax.au.websocket.WebSocketWebAppInit</listener-class>

    • None

      Steps to Reproduce

      run the attached example with WebSocketWebAppInit enabled
      -> click the first button

      Current Result

      Sessions.getCurrent() returns null

      Expected Result

      The current session as returned when pressing the 2nd button

            wenninghsu wenninghsu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h