Sometimes my scripts calls the server twice even if is a simple stright-forward one.
I usually runs a trace in the background when I'm testing new scripts. And quite often I can see, that the server has been called two times.
Not very smart if you're maintaining a counter across calls.
First it was all voodoo, but I think I have found a pattern:
I usually runs a trace in the background when I'm testing new scripts. And quite often I can see, that the server has been called two times.
Not very smart if you're maintaining a counter across calls.
First it was all voodoo, but I think I have found a pattern:
If I write http://domain.com or plain www.domain.com then the script allways runs twice
But if I add the name of the script as in http://domain.com/index.php the number of runs may be one or two.
Can somone explain what's going on?
But if I add the name of the script as in http://domain.com/index.php the number of runs may be one or two.
Comment