Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 why?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Freeman II
Junior Member

232 Posts

Posted - 10 June 2001 :  15:41:06  Show Profile
does anyone know why each time i run my forum i see a *.ldb file in my db dir.
is it because i didn;t close my_conn somewhere in my code?

thanks


gor
Retired Admin

Netherlands
5511 Posts

Posted - 10 June 2001 :  16:06:29  Show Profile  Visit gor's Homepage
The *.ldb file is the file that Access uses to store the locking information.
Meaning: who has access to what records, so what records can't be changed by others etc.
It is because of this file, you need write access to the directory the database is stored in.

It is automatically deleted once no user is connected to the database.
It gets recreated automatically by Access, so there is no need to safe it or copy it along with the database itself.

So, yes, you are partially right about the fact that as long there is an open connection, the file will exist, but those connections timeout and also get closed automatically in case you forgot to close them somewhere in the code.
Of course forgetting to close the connection is not good, because it is better to release all connections when no longer needed.


Pierre
Join the Snitz WebRing
Go to Top of Page

Freeman II
Junior Member

232 Posts

Posted - 10 June 2001 :  17:02:57  Show Profile
thanks gor i understand now

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 11 June 2001 :  00:32:14  Show Profile  Visit gor's Homepage
You're welcome

Pierre
Join the Snitz WebRing
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07