Foros de discusión
Remove Portlet Session on page refresh
ANIKET VERMA, modificado hace 10 años.
Remove Portlet Session on page refresh
New Member Mensajes: 7 Fecha de incorporación: 22/10/13 Mensajes recientes
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 .
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 .
David H Nebinger, modificado hace 10 años.
RE: Remove Portlet Session on page refresh
Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
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...