userSession.setInitCookieDone(false);
} else if (initCookie.getValue().equalsIgnoreCase(CookieProtocol._perGroup)) {
PortletDescription portletDescription = null;
try {
portletDescription = producer.getPortletDescription(getPortlet().getParent());
} catch (WSRPException e) {
// do nothing since exception has been logged already
}
String groupID = null;
if (portletDescription != null) {
groupID = portletDescription.getGroupID();
}
if (groupID != null) {
GroupSessionMgr groupSession = userSession.getGroupSession(groupID);
groupSession.setInitCookieDone(false);