Comments (1)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 compaamat commented Permalink


How can we use global variable within a Web Application, where connections are managed by WAS connection pool. How can we preserve for a user, the value established during his login procedure (stored procedure #1) when he needs it after a few other calls, each of them releases connection to the pool.
Apparently, this can be saved in Java session, but the point and thebiggest advantage of the global variable would be our ability to use its value directly in procedure or in a view (like in your example) without passing any values from the application code.
Thank you,
Alex Ashkenazi