Re: WO Context() null in Session Constructor

2010-10-25 Thread David LeBer
On 2010-10-25, at 3:37 PM, Chuck Hill wrote: > That information is not available until awake() is called. And assuming you don't need it until after that anyway, why not either just ask for it when you need it or lazily obtain and the cache its value in the accessor? i.e: public String remoteH

Re: WO Context() null in Session Constructor

2010-10-25 Thread Chuck Hill
That information is not available until awake() is called. On Oct 25, 2010, at 10:55 AM, Joe Moreno wrote: > Hi all, > > I'm probably not remembering my WO request/response loop correctly. > > When a WO Session is created I'd like to find out the host name of the > request so I tr

WO Context() null in Session Constructor

2010-10-25 Thread Joe Moreno
Hi all, I'm probably not remembering my WO request/response loop correctly. When a WO Session is created I'd like to find out the host name of the request so I tried to log that info in the Session's constructor (see code snippet below). Unfortunately, the context() is null at t