SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

checking on database if user is online or no.

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
rlHitech



Joined: 28 Oct 2009
Posts: 46

PostPosted: Thu Apr 22, 2010 4:10 pm    
Post subject: checking on database if user is online or no.

Hello
We are developing a Windows form application that will monitor our hotspots and i would like to know if it is possible on the database.dbf to checkit out if we have users on line using the odbc.
Regards,

Renato
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri Apr 23, 2010 7:13 am    
Post subject:

Yes, you can check the field "reserved1" in table fsusr. Refer to chapter 5 of firstspot_guide.pdf for details.
_________________
~ Patronsoft Limited ~
Back to top
rlHitech



Joined: 28 Oct 2009
Posts: 46

PostPosted: Fri Apr 23, 2010 10:58 pm    
Post subject:

One more question.
We are running the code on C# and we will use ODBC for acessing it.
I have read on the manual that direct consultations to the dbf file may crash the system.

Given that in the future we also intend that this program create pins, what apropriate measure would you recommend us ?

Regards,
Renato
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Sat Apr 24, 2010 4:35 am    
Post subject:

Please check out http://patronsoft.com/forum/viewtopic.php?t=1514 for a guideline.
_________________
~ Patronsoft Limited ~
Back to top
ryanslimmon



Joined: 24 Jun 2009
Posts: 23
Location: Calgary, AB

PostPosted: Wed May 05, 2010 5:55 pm    
Post subject:

If you stop using the default database files and move your database to a SQL Database (i.e. SQL Server Express, MySQL, etc), then you can access the data directly while the server is online. Not that I am recommending that you change the data directly, its just accessible to you.

(I've had many bad experiences with dBase III/IV and access databases that I will stay clear of them if i can.)


Currently we run firstspot against SQL Server 2008 Express, and it works well. The Firstspot guide has the SQL Commands to build your initial database.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group