Link to home
Start Free TrialLog in
Avatar of webressurs
webressursFlag for Norway

asked on

Execute url from asp page (without showing it)

Is it possible to execute a url when a user visits (or leaves) a webpage. I have tried using iframe (height/width 0px, src=url)  but it dont work correct. Mabye a javascript or something can work?

Example:
When a user visit a webpage (www.mypage.com) another webpage (www.anotherpage.com?ref=1) should be executed. I dont want the user to see this page (www.anotherpage.com?ref=1).

I use asp 3.0.
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

use 1px instead of 0px
Avatar of webressurs

ASKER

iframe dont work at all, is there another way to do this without using iframe?
WHat do you mean "iframe don't work at all..." unless there is a frame buster script on the page you want to load, iframe should work just fine - please give more detail...
ASKER CERTIFIED SOLUTION
Avatar of alorentz
alorentz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial