Announcement Announcement Module
Collapse
No announcement yet.
Obtaining identity of a session Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Obtaining identity of a session

    I am implementing a pattern where a web controller would
    put a session in one of three states with respect to an
    operation:
    a) start ("start" the operation)
    b) refresh ("refresh data in the operation)
    c) end ("end" the operation)

    I would like to know how the controller can obtain the
    identity of the session or otherwise mark the session
    in a state in its tables.

    Thanks,

    Umark

  • #2
    You might want to have a look at the AbstractWizardFormController which would allow you to work with the data across multiple steps.

    Comment


    • #3
      Unable to use WizardController because...

      Originally posted by Mark Fisher
      You might want to have a look at the AbstractWizardFormController which would allow you to work with the data across multiple steps.
      Thanks for your note. WizardController is (IMO) not applicable
      in this situation because I am attempting to build a "tail a log
      on the server" function. This delivers to the browser live
      additions to a collection on the server as the collection is
      updated.

      Hence I'd like to have a session go issue the commands "start
      tailing", "update tail" and finally "end tailing". Pl let me know
      if you still think WizardController can be used.

      Since distinct sessions may concurrently start tailing, I need
      to mark the state of each session.

      Thanks,

      Umark

      Comment

      Working...
      X