By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,534 Members | 1,807 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,534 IT Pros & Developers. It's quick & easy.

Search in a TEXT File

P: n/a
Hello friends,

I have one TEXT file that I use to log download information from website.
The file will have unique Login ID for the downloads. When the user will
come for next time for download the LOG entry should go under the same
section (same ID number) so for this I need to search the text file for the
ID and if the ID is found the program should append the NEW LOG entry to the
end of Section. (section mark can be a line of ***** ) (mean just before the
***** line)

How can I do that using ASP (vbs). Please guide me.

Regards
Prabhat

Apr 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Prabhat wrote:
Hello friends,

I have one TEXT file that I use to log download information from
website. The file will have unique Login ID for the downloads. When
the user will come for next time for download the LOG entry should go
under the same section (same ID number) so for this I need to search
the text file for the ID and if the ID is found the program should
append the NEW LOG entry to the end of Section. (section mark can be
a line of ***** ) (mean just before the ***** line)

How can I do that using ASP (vbs). Please guide me.


Due to concurrency issues, I do not believe that a text file should be used
for this purpose. Instead, use a database, even Access.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Apr 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.