This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 19, 2011, 4:56 PM
6 Posts

Question on sessionScope variables

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: sessionScope
  • Replies: 3

Are the "sessionScope" variables we can put/get in XPages the same as "session" variables that are set in other web elements, like active server pages?  If I set a sessionScope var in XPages, is it available to a .ASP as a session var?
May 19, 2011, 5:46 PM
39 Posts
Re: Question on sessionScope variables
Hi,
 
No that is not the case, the sesion variables are stored in the memory of the server in which you "put" them in, so if you store session variables on an asp.net server, that server specifically the web application running the site holds the variables, so the xpages app cannot touch them.  Basically they are the same concept, but they are implemented in two different ways in two different places. 

Thanks
-Toby
May 19, 2011, 6:34 PM
3 Posts
Re: Question on sessionScope variables
What if the asp pages were being rendered by the Domino http stack?  Would those session vars then be in the same 'server'?  and therefore available across web elements?
May 26, 2011, 4:32 PM
6 Posts
No
ApplicationScope, SessionScope, ViewScope and RequestScope variables are only available in the current app and are not shared/exposed outside of this context, regardless of the underlying http stack or other configurations. Thomas - IBM

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal