Forums de discussion

Remove Portlet Session on page refresh

ANIKET VERMA, modifié il y a 10 années.

Remove Portlet Session on page refresh

New Member Publications: 7 Date d'inscription: 22/10/13 Publications récentes
hi

i am storing a list in a Portlet session i have to remove the Portlet session on a page refresh because it is displaying the previous value
so Please help me its urgent .
thumbnail
David H Nebinger, modifié il y a 10 années.

RE: Remove Portlet Session on page refresh

Liferay Legend Publications: 14914 Date d'inscription: 02/09/06 Publications récentes
session scope is used to store entities in the session, so they have a longer lifespan. If you don't want the longer lifespan, don't store in the session. Don't perpetuate your bad decision to store in the session by now including code to purge the session on every refresh...