lauching an existing instance

Questions, answers, tips and ideas on Servoy Client

lauching an existing instance

Postby lesouef » Sat Feb 05, 2011 7:12 pm

I'd like to start the smart client and deeplink a method+argument from a URL issued by a 1/3 application to end up where I want
But this triggers as many sessions as URLS executed: is there a way to re-use the existing client instance instead of firing a new client everytime?
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: lauching an existing instance

Postby ngervasi » Sun Feb 06, 2011 2:45 am

Yes, have a look at the admin pages for the "servoy.allowExistingClientActivate" property.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: lauching an existing instance

Postby lesouef » Sun Feb 06, 2011 1:03 pm

I have this "on" and found what was wrong:
it does work only if the URL does not specify the solution and method argument like that:
http://server:8080/servoy-client/servoy ... d=yyyyyyyy
so if you first launch the client with no arg, and a 2nd attempt with arguments, it does not work, so you must always use both arguments even if not needed and thus left empty like this:
http://server:8080/servoy-client/servoy ... xx&method=
thanks anyway, I would not have pinpointed on this, I thought it was not that specific, something like "1 or several instance".
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 5 guests