serverExecution with singleUser app server

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

serverExecution with singleUser app server

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:47 am

by John Porter >> Mon, 17 Jan 2000 22:47:13 GMT

I'm guessing that serverExecution is ignored when the Jade app server is running in singleUser mode. This has the unfortunate consequence that you can't use a serverExecution method to find out the time on the server machine when your clients are distributed across multiple timezones.

Is there another way of finding the time on the server machine with Jade? Presumably this could be done with WinAPIs or C++, but I'd prefer a Jade method.

Thanks,
John P

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: serverExecution with singleUser app server

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:47 am

by Craig Shearer >> Tue, 18 Jan 2000 2:25:36 GMT

Presumeably you could write a DLL that returned the time, then on the external function method signature you would mark it as applicationServerExecution which would cause it to execute on the server machine. There may be a better (ie. pure JADE) way though.

Craig.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: serverExecution with singleUser app server

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:47 am

by Craig Shearer >> Thu, 20 Jan 2000 1:40:46 GMT

I see that in 5.0.15 there is a method: app.actualTimeAppServer that does exactly what you want. :-)

Craig.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 11 guests