SESSION VARIABLES (e.g. session.variableName)
True or False?
It is my understanding that, if an application creates a session variable named var1 and initializes it to the username of the currently logged in user and user A and user B are both running the appliation at the same time, then when user A's invocation of the application accesses the session variable var1, the value returned will be the username for user A (NOT USER B). Likewise, if user B accesses the session variable var1, the value returned will be the username for user B (NOT USER A) In other words, each launch of the application creates its own instance of the session variable and when the session variable is accessed, the value returned will be the value stored in the variable by the particular users session
and NOT the value stored in the variable by any other session running the same application.
APPLICATION VARIABLES (e.g. application.variableName)
True or False?
If an application creates an application variable named var1 and initializes it to the username of the currently logged in user and user A and user B are both running the appliation at the same time, then when user A's invocation of the application accesses the application variable var1, the value returned will be the last value stored in the variable by EITHER user A's instance of the application or user B's instance of the application. In other words, each launch of the application references the SAME instance of the application variable and when the application variable is accessed the value returned will be last value stored in the variable by either user A's instance of the application or user B's instance of the application, which ever one wrote to the variable last.
True or False?
Start Free Trial