[Slogger] SOLVED: How to submit to custom CGI script

Robin Smidsrød robin at smidsrod.no
Wed Feb 14 03:54:28 PST 2007


Slogger version 0.6.20060410
Firefox 2.0.0.1
Windows XP SP2

Hope this helps in sorting out the problem.

As far as I know, you should not be using alert here, because it blocks 
the threading in FF (to my knowledge). If you install firebug or venkman 
you can possibly figure out what happens that causes it to hang.

You should of course, also check that your receiving server (for the 
XHR) is not stalling and keeping the response from succeeding. You will 
have to talk to someone more knowledgeable in javascript to figure out 
how to debug that XHR.

The CGI script should be extremely lightweight and have a minimal 
response time. Mine only log the info to a database, and the rest of the 
processing is done in another script.

-- Robin
*
*Peter wrote:
> Dear Robin
>
> Thanks for your script using XMLHttpRequest
>
> I can not make this work for me: I can see (using alerts) that the
> request is never finished, slogger keeps on waiting for ever. Can you
> tell me, on which configuration that worked for you. Mine is:
>
> slogger 0.6.20061221.xpi  (latest version)
> Firefox 2.0.0.1
> Win2K SP4
>
>
> Thanks a lot
> Peter
>
> _______________________________________________
> Slogger mailing list
> Slogger at mozdev.org
> http://mozdev.org/mailman/listinfo/slogger
>   



More information about the Slogger mailing list