Why not using a portalsession attribute ??
login -> set
logout or session expired -> unset
in your portlet, redirect to the appropriate jsp according of this attribute state.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228871#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...