Re: obtaining jsessionid

2013-06-07 Thread John
This @Inject HttpServletRequest does work, many thanks. - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Thursday, June 06, 2013 12:22 PM Subject: Re: obtaining jsessionid On Thu, 06 Jun 2013 08:07:17 -0300, Peter Hvass wrote

Re: obtaining jsessionid

2013-06-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Jun 2013 08:07:17 -0300, Peter Hvass wrote: Hello, Hi! Grab HttpServletRequest (perhaps via RequestGlobals) and then call getSession().getId() on it. :) Think that should work! You can @Inject HttpServletRequest directly at least since T5.1. No need to use RequestGlobals d

Re: obtaining jsessionid

2013-06-06 Thread John
having the clients IP would be good too!? - Original Message - From: John To: users@tapestry.apache.org Sent: Thursday, June 06, 2013 12:03 PM Subject: obtaining jsessionid Hi, Is it possible to obtain the sessionId for the servlet session in Tapestry, I can't se

Re: obtaining jsessionid

2013-06-06 Thread Peter Hvass
Hello, Grab HttpServletRequest (perhaps via RequestGlobals) and then call getSession().getId() on it. :) Think that should work! Peter - Original Message - From: "John" To: users@tapestry.apache.org Sent: Thursday, 6 June, 2013 2:03:34 PM Subject: obtaining jsess

obtaining jsessionid

2013-06-06 Thread John
Hi, Is it possible to obtain the sessionId for the servlet session in Tapestry, I can't see how to get it with request.getSession()? John