[thelist] ASP flat files via FSO
LKraemer
LKraemer" <lwkraemer at earthlink.net
Mon May 8 21:32:21 2000
Flat files can be used very effectively for single dimension dynamic
content. They're easy to format, read and write.
Typically, however, the latest information is appended at the end of the
file. To reverse that, certainly one can read the entire file (old stuff)
into a variable and add any new data in front by using something like new
stuff & old stuff, then rewriting the file.
My question is: Is there an alternative to appending new stuff so it can be
read as if from the top? What might be considered a file size limit to doing
the read, save to variable, append to front, resave scenario?
Similarly, suppose I opt to use getrows or getstring to optimize calls to a
database. Is there a data size thats makes this approach impractical? Are
there any performance hits I should be concerned about if storing getrows or
getstring results in application or session level variables for reuse across
an application/session?
aardvark got me thinking about this stuff and I'm not comfortable with some
of the recent threads that are not particularly too friendly. We are here to
help each other, are we not?
------------------------
Lonnie W. Kraemer
ASP Application Development
http://www.lkraemer.com
--------------------------------------------
- t r a n s m i s s i o n c o m p l e t e -