FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



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.
 
Mark

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.