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.



Mar 8, 2017, 8:05 AM
589 Posts

.

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: Xpages,IBM Notes,Javascript
  • Replies: 3

glad you got it working.

 

If the values are for all users in the database then you'd typically want to use applicationScope.  If the values are user specific then year sessionScope is what you want to use.  Just remember that sessionScope is really more like "browserScope".  Meaning if you set a sessionScope variable and a user logs out and a different user logs back in right away values from the 1st user might survive if you don't clear and/or overwrite them yourself.

 

Dave


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.