recently I found another bug in SessionModule. Though it say's explicitly it
doesn't create a new seesion on default it does exactly this. See the pasted
snapshots below.

from o.a.c.environment.Session (javax.servlet.http.HttpSession) Interface:
/**
*
* Returns the current session associated with this request,
* or if the request does not have a session, creates one.
*
* @return                the <code>Session</code> associated
*                        with this request
*
* @see        #getSession(boolean)
*
*/
Session getSession();


from o.a.c.components.module.input.SessionModule:
/* ...
* <strong>NOTE:</strong> The module does not create a new session.
*/

    protected Object getContextObject(Configuration modeConf,
                                      Map objectModel) {

        return ObjectModelHelper.getRequest(objectModel).getSession();
    }

it should be 
    return ObjectModelHelper.getRequest(objectModel).getSession( false );

Regards
Michael

-- 
+++ GMX - die erste Adresse f�r Mail, Message, More +++
Neu: Preissenkung f�r MMS und FreeMMS! http://www.gmx.net


Reply via email to