voyent
Liferay Icefaces -User Session Expired AGAIN  XML
Forum Index -> Portals & Portlets Go to Page: Previous  1, 2, 3, 4
Author Message
jarkko

Joined: 16/Nov/2006 00:00:00
Messages: 32
Offline


Ok, I tought that it comes very close to this issue. Everything was working just fine with Icefaces 1.7.0 and <private-session-attributes>false</private-session-attributes> but after upgrading and private-session-attributes giving that User Session Expired I's looking for alternative solutions.

What's weird (and pls don't fix it just now ;) is that you can't remove LIFERAY_SHARED_xxx attributes from the session but if your param happens to be a map you can .clear() it. Half-a-solution. But obvisously there's more here.
ErikH2000

Joined: 02/Nov/2008 00:00:00
Messages: 4
Offline


What about just calling setAttribute("yourattribute", null) ? I think that gives you the same effective behavior as calling getAttribute on a nonexistent attribute.

-Erik
wclements

Joined: 02/Jun/2008 00:00:00
Messages: 1
Offline


There is still the issue with writing a session variable within Liferay...

An example would be to login to the liferay portal by setting the j_username and j_password session variables.

You can do it when you set <private-session-attributes>false</private-session-attributes> and it will properly set the liferay session attributes when IceFaces first loads, however it does come up with the user Session Expired error instantly.

Is there a way to resolve this issue within glassfish?
Tracker09

Joined: 12/May/2008 00:00:00
Messages: 14
Offline


I tried the portlet 2.0 way that was mentioned and it didn't work. You can't put that jar into your war file.
 
Forum Index -> Portals & Portlets Go to Page: Previous  1, 2, 3, 4
Go to:   
Powered by JForum 2.1.7ice © JForum Team