What is the difference between session and globalSession in Spring framework?
globalSession
is something which is connected to Portlet applications. When your application works in Portlet container it is built of some amount of portlets. Each portlet has its own session, but if your want to store variables global for all portlets in your application than you should store them in globalSession
. This scope doesn't have any special effect different from session
scope in Servlet based applications.