This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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".