Hi everyone,

I was wondering what would be the best approach to retrieve a session ID using 
Tapestry 5.1. My understanding is that the wrappers Tapestry creates around the 
HttpSession object does not expose a getId() method that would return a string 
representation of the session to me.

I have tried injecting the HttpServletRequest into my page class and retrieving 
the un-wrapped version of the session object from there in order to be able to 
call said getId() method. Is Tapestry going to notice that I mess around with 
the un-wrapped request and session objects or would you expect it to break at 
some point?

The reason why I need to access the session ID is that I need to supply it as a 
parameter to a Flash object on the page and as far as I know you can't rely on 
session cookies when it comes to Flash making HTTP calls.

Thanks a lot in advance!

Cheers,
Mark

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

Reply via email to