Hey Hilary, 2010/1/11 Hilary Cheng <[email protected]>: > Hi, > > Thx, It seems if your Widgets or WApplication, it can get the client ip > address, but If I inherits the WResource, the Http::Request doesn't provide > any client information. It seems WApplication got static instance and > retrieve the WEnvironment. But does it referred to the session of the that > moment ?
Yes it does. Unless you use a static resource (WServer::addResource(), new since Wt 3.1.0) this will work. Regards, koen ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
