Jul 23, 2012, 3:55 AM
261 Posts

Re: What to use instead a sessionScope variable over more applications ?

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: sessionScope,sessionScope SSJS Variable,sessionScope surrogate
  • Replies: 2
The XSP Starter Kit (available on OpenNTF) has an example of how you might implement a "server scope". Since there's only one JVM for XPages on a Domino server, it's basically just a Java singleton. An example on how to write a singleton for XPages can als be found here.