Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 4 of 4 total |
Restoring connection |
Sun, Sep 3 2006 3:18 PM | Permanent Link |
adam | ... Sorry to post this, I think there is probably a help file somewhere explaining it but
I can't find it! Using v3.3 C/S if a user leaves their terminal for a while the server logs them out (all well & good). When they return to work and try to edit data an error message pops up. How do I re-code so that OnError a "please log back on" dialogue occurs, instead ... Adam |
Mon, Sep 4 2006 12:39 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Adam,
<< .. Sorry to post this, I think there is probably a help file somewhere explaining it but I can't find it! Using v3.3 C/S if a user leaves their terminal for a while the server logs them out (all well & good). When they return to work and try to edit data an error message pops up. How do I re-code so that OnError a "please log back on" dialogue occurs, instead ... >> It's not particularly easy with 3.x. You have to shut-down the session, ignoring all of the exceptions generated as DBISAM continuously tries to reconnect to close tables, etc., and then re-start the session anew. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Sep 5 2006 9:39 AM | Permanent Link |
"B Miller" | Adam,
With v3, I have a timer on the main form that calls the main session's GetRemoteDateTime before the connection can timeout. This keeps the clients connected at all times. Bill "adam" <adam@nospamplease.fmfoods.co.uk> wrote in message news:23BB8E6E-2A1C-46FE-AA23-B04370A7C8D4@news.elevatesoft.com... > .. Sorry to post this, I think there is probably a help file somewhere > explaining it but > I can't find it! > > Using v3.3 C/S if a user leaves their terminal for a while the server logs > them out (all > well & good). When they return to work and try to edit data an error > message pops up. > > How do I re-code so that OnError a "please log back on" dialogue occurs, > instead ... > > Adam > |
Fri, Sep 8 2006 9:46 AM | Permanent Link |
adam | That's useful Bill, it is good to have a way of stoping the system from disconnecting a
user & throwing an error. But I am really interested in disconnecting & reconnecting effectively, rather than keeping people permanently connected. ... it sounds like I will have to use your method to maintain DB connectedness & then write something in Delphi to handle a "mock disconnection" at the client end after a certain amount of time. I usually try to avoid using Timers though ... a bit of a throw-back to the Win95 days when they were resource-intensive, though in this case I think they are the way to go. Adam |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |