|
Home > Archive > SQL Anywhere database > May 2005 > Automatic Shutdown of client
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Automatic Shutdown of client
|
|
| David Holstein 2005-05-24, 8:23 pm |
| Hi,
In Sybase 5.0, we use to use dbclient.exe -c where the -c use to
automatically disconnect the client for us. Now in Sybase 7.0 and Sybase 9.0
we don't use dbclient.exe. Somehow we got them to disconnect automatically,
but I don't know how. Does anybody know the parameter to automatically
shutdown the client connections?
Regards
David
| |
| Greg Fenton 2005-05-25, 3:23 am |
| David Holstein wrote:
>
> In Sybase 5.0, we use to use dbclient.exe -c where the -c use to
> automatically disconnect the client for us. Now in Sybase 7.0 and Sybase 9.0
> we don't use dbclient.exe. Somehow we got them to disconnect automatically,
> but I don't know how. Does anybody know the parameter to automatically
> shutdown the client connections?
>
There isn't a separate "client program" for ASA as of 6.0.0. Your
application connects using a client library. When your client closes
the database connection or when your application shuts down, the
"client" closes because the library is no longer in use.
Does this answer your question?
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
| |
| David Holstein 2005-05-27, 3:23 am |
| Thanks Greg, I thought it was a Sybase ODBC problem but we have since found
that it is a database problem.
Our application has a field that specifies "Automatic Client Disconnection
Time", when you type in 00:00 then disconnection of the client is ignored.
We have since found that whenever we type in 23:55 into this field, close
the app and reopen it reverts back to 00:00 (therefore automatic
disconnection is ignored). I am sending the db to our programmers to look at
why?
Sorry to bugger you around.
Regards
David
"Greg Fenton" <greg. fenton_NOSPAM_@ianyw
here.com> wrote in message
news:4293e19e@forums
-1-dub...
> David Holstein wrote:
>
> There isn't a separate "client program" for ASA as of 6.0.0. Your
> application connects using a client library. When your client closes the
> database connection or when your application shuts down, the "client"
> closes because the library is no longer in use.
>
> Does this answer your question?
>
> greg.fenton
> --
> Greg Fenton
> Consultant, Solution Services, iAnywhere Solutions
> --------
> Visit the iAnywhere Solutions Developer Community
> Whitepapers, TechDocs, Downloads
> http://www.ianywhere.com/developer/
|
|
|
|
|