Forums de discussion

GWT based portlet lost session attributes

Pavel Semyonov, modifié il y a 14 années.

GWT based portlet lost session attributes

New Member Publications: 2 Date d'inscription: 18/09/09 Publications récentes
Hi, All!

I have problems with my porlet that uses the GWT. First is that portlet sometimes lost session(all session attributes setted in doView returns as null, attributes contains nothing). Mostly this happens after redeploying it and sometimes on first deployment with new poprtlet id, name, context etc.. Problem partly solved by deleting portlet from webapps and clearing temp and work directories, but not always.

Second is that browsers caching all GWT modules and restore it from cache even it has been refreshed. Gwt module loads by nocache.js witch desides if module shoould be loaded from cache or server. nocahe.js must not be cahed, but it is with liferay. Setting Cache-Control to no-cache not helped.

Any suggestions on this?

Best regards
Pavel
Tommy Jerax, modifié il y a 14 années.

RE: GWT based portlet lost session attributes

New Member Publications: 4 Date d'inscription: 24/02/10 Publications récentes
Hi pavel , have you find a solution about this??
I have the same problem !!
Thanks!