hi,

i have a problem with tapestry and session/cookies. 

there is a different sessionId in the cookie than the actual session that is 
used bye the tapestry page. while rewinding a form tapestry uses the sessionId 
from the cookie and creates a new state-object for that session, neglecting the 
existing one.
when i change the sessionId in the cookie to the one originally uses in the 
tapestry-page, everything works fine.

did anyone had a simmilar issue?

my debugging is like this:
        
        @InjectObject("service:tapestry.globals.WebRequest")
        public abstract WebRequest getWebRequest();

        public void pageEndRender(PageEvent event) {
                logger.info("sessionId: " + 
getWebRequest().getSession(false).getId());

        }

output:

sessionId: 9em3ruceflxw <-- before rewind
sessionId: ajmklffigzpk <-- after rewind

cookie says:

Name    JSESSIONID
Value   ajmklffigzpk
Host    localhost
Path    /mocaPreselection
Secure  No
Expires At End Of Session

thx in advance,
peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to