I have set a value into PortletSession's PORTLET_SCOPE. I am able to retrieve the value correctly. But, if my portal server is shutdown, and after restarting the server, if I access the value, i am seeing the old value set before shutdown of the server. I tried the same by setting value in APPLICATION_SCOPE, and this works fine.
when "pageNum" value is 2, I shutdown the portal server, and restarted.
I logged into portal and when I access this variable, I am seeing pageNum value as "2".
If I repeat the same process, with APPLICATION_SCOPE, after restarting the server, pageNum value is "null".