> Is there a way to have a script execute but > prevent the user from being directed away from > the home page?
You could load it in an image tag... <img src="/cgi-bin/myscript.cgi" height="1" width="1"> It might show as a broken image in some browsers. To fix that you could have the script send a 1 pixel image to the browser. print "Content-type: image/gif\n\n"; open IN, 'image.gif'; binmode IN; print while <IN>; close IN; I use something like that for tracking views. Rob -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 3:56 PM To: [EMAIL PROTECTED] Subject: Executing script "invisibly" Hello, I am using Javascript (body onload) to execute a script automatically as a page loads, but this ends up redirecting the page to the URL of the script. Is there a way to have a script execute but prevent the user from being directed away from the home page? Much thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]