Hey Zeev, 2009/8/25 zeev mintz <[email protected]>: > hi, >> is there a way to pass a parameter from the function that creates the >> WServer to web application or vice versa?
Good question, and we have never thought of this. I can see why this would be useful. The proper solution is probably to extend the WApplication API so that there is a new method, WApplication::server(), which returns the WServer instance to which the application belongs. In this way, you could specialize WServer for your own server which holds this information, and then in your application up-cast the server to access this information. Would that solution work for you? Regards, koen ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
