On Thu, 16 Apr 2009 12:24:13 -0400, Martin Gainty <mgai...@hotmail.com> wrote:


30 second solution seems to indicate session variables are auto-populating url so last statement(s) in doView method should invalidate your PortletSession

// Code fragment from class implementing SessionAware containing the
// session map in a instance variable "session". Attempting to invalidate

    org.apache.struts2.portlet.servlet.PortletSession session;

try {
((org.apache.struts2.dispatcher.SessionMap) session).invalidate();
    } catch (Exception e) {
        logger.error(msg, e);
    }

out of curiosity are you implementing with METHOD="GET" or METHOD="POST"
?
Martin


Thanks for the reply Martin - I didn't get too far though.

Implementing SessionAware gives me a simple Map object, not a PortletSession object. Also casting PortletSession to SessionMap doesn't seem to please my JVM.

The form action uses a POST method.

Thanks,
Steve

--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IS&T

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to