(root folder)
--index.asp, uses the counter code
--(counter folder)
(counter folder)
--counter.asp, code for the counter
--demo.asp, counter test page
--counter.txt, number of people who have visited.
This is what is happening: When I try to load the index.asp page, I get a HTTP 500 Internal Server Error (because of the counter). But, when I go to the demo.asp page, it works fine. So I go back to the nindex.asp page, and it is working fine! This is confusing me, can someone please tell me why? I can post the code for the files if you need to.
Alcohol & calculus don't mix.
Never drink & derive.
and changed line 39 0r so in the counter.asp to this
Code:
fn = Server.MapPath("counter/counter.txt")
and it worked fine from the index.asp file, but then of course it got the error from the demo.asp file, what i would do is put these to files in the same place and adjust the Server.MapPath accordingly
VB6.0 SP4
Windows 2000 I'm thinking of a number between