Unable to record speedtest results

Hi Jim,

I am trying to use the broadband speed test tool.It is indeed a very useful tool.

The tool is being used at smartaaryan.brinkster.net/speedtest.htm. I have already sent a request today to activate this page.

I am using ASP 3.0 for scripting. I have uploaded all the files except MS Access database which I do not want to use.

However,I want to record the test results – upload and download. I am not able to do this. Logger.asp doesn’t seem to be creating the text file which is supposed to be created.

I am sure this may not be something complicated.Am I missing something?

Regards
Tushar Johri

Comments

  1. AMPC says:

    Hello Tushar,

    Have you given permissions to the file that will be used to record the results?

    Best regards,

    Jim.

  2. Tushar Johri says:

    Hi Jim,

    Can you please advise on how to go about granting the neccessary permissions to the file?

    Does logger.asp take care of logging the data by itself?

    Regards
    Tushar Johri

  3. Tushar Johri says:

    Hi Jim,

    This is what my logger.asp looks like:

    <!– echo –>
    <!– Do not remove the echo comment above or speeds will not be recorded –>
    <%
    fp = Server.MapPath("st-results.asp")
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set a = fs.OpenTextFile(fp)
    ct = Clng(a.ReadLine)
    Response.write("kjdfsdfgksdk" & ct)
    if Session("ct") = "" then
    Session("ct") = ct
    ct = ct + 1
    a.close
    Set a = fs.CreateTextFile(fp, True)
    a.WriteLine(FormatDateTime(Now(), vbShortDate))
    a.WriteLine(FormatDateTime(Now(), vbShortTime))
    a.WriteLine(Request.Form("testspeeds"))
    a.WriteLine(request.servervariables("REMOTE_ADDR") )
    a.WriteLine(request.servervariables("HTTP_USER_AGE NT"))
    end if

    a.Close

    %>

  4. AMPC says:

    Hi Tushar,

    Did you put this line there:
    Response.write("kjdfsdfgksdk" & ct)

    Just wondering if I did that as a test and forgot to remove it?

    Thanks,

    Jim.

Speak Your Mind