Monday, November 07, 2005

New feature added to search utilities

At 5 AM this morning....After reading through some 9 books I have on Perl and CGI programming with Perl and reading the online material at cgi 101, I added file locking to the two cgi search scripts used at electrician.com and electrician2.com. Evidently, if a file is opened and not locked and programs from two separate users access the file at the same time the contents can be destroyed. The probability of this happening is slim, but just in case a file can be locked while it is being read or written to. Writing a program to perform a task is only half of the job. The contingency modules that address security, human error, and possible crashes are the other half.

Now to get to that well pump...this should be fun. It is only 9 below zero today.

0 Comments:

Post a Comment

<< Home