Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server differences

Status
Not open for further replies.

rincewind44

Programmer
May 21, 2003
33
IE
Hi,
I have uploaded the exact same javscript code on to different servers and it runs perfect on a dedicated server but not on a shared mission2k server. Does anyone know how to get around this problem? the link that works is
and the link that doesn't work is
Can anyone suggest a solution or point me in the right direction?
Thanks
 
well, knowing what you expect to happen might be some assistance.
I got on both sites a almost random rotating series of VERY irritating animated gif adverts down the left hand side. Only tried IE6 couldn't face anything else.


Chris.


Indifference will be the downfall of mankind, but who cares?
 
The gifs rotate through a series of positions i.e. at a set interval the top gif is moved to the bottom position and all other gifs move up one position. The problem with the trucker link is that when they switch positions all the images are re-downloaded which does not and is not supposed to happen on the hogan link.
Sorry for not explaining this earlier.
 
rincewind44
as all said they are all fairly annoying, but I know that is not what you asked for.

both links work fine for me IE5.5+ NN6.2+

The thing that is slightly confising to me is, you state that one works off A) server and not B) server!

The server has no reference towards what is going on for one on the clients machine that the page is being viewed with. The server gets the request and sends that request to be interpruted by the client. That is the interaction and there is no more to it then that (respectfully leaving out server scripting taht is still of no concern here)

Bottom line is whatever the variances in performance you are seeing they must be coming from the browser that is interpruting the javascript and not the servers being utilized to send the page to the client.

_________________________________________________________
$str = "sleep is good for you. sleep gives you the energy you need to function";
$Nstr = ereg_replace("sleep","coffee",$str); echo $Nstr;

onpnt2.gif
[/sub]
 
The exact same code and images performs different on the 2 different sites which are on seperate servers. Considering that its the same code then it leads me to belive that its a server problem, no? The problem is that after 15sec the images will change positions, on the trucker site the images are re-downloaded which should not and does not happen on the other server. Any ideas?
 
The processing is all client-side, being in javascript, so the server should make no discernable difference.

What leads you to think they are being re-downloaded each time from one server?


Chris,


Indifference will be the downfall of mankind, but who cares?
 
When you open the trucker link (posted in my original question) the images all load and then after 15 sec the change positions and are re-downloaded. (i.e. in the status bar of explorer it says downloading and the full amount of pics) This is on a seperate server to the hogan link (posted in my original question) which does the same but does not re-download after the 15 sec. Maybe your connection is so fast that you bearly notice the re-download? I'm working of a 56k and so is most of the rest of Ireland so it's noticeable and important to fix over here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top