Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

FOM: The Session Object

The session object is simply a wrapper around the Session object provided by the Cocoon environment. No methods were left out since they don't provide problems to the flow environment or suggest abuse.

---- methods ----

attributes

  • getAttribute(name)
  • setAttribute(name,value)
  • removeAttribute(name)
  • getAttributeNames()

control

  • invalidate()
  • isNew()
  • getId()

time

  • getCreationTime()
  • * getLastAccessedTime()*
  • setMaxInactiveInterval(interval)
  • getMaxInactiveInterval()

---- properties ----

Wiki Markup
 \[name\] \-> maps to the attribute indicates with the name

For example session.blah is equivalent to session.getAttribute("blah")