Forum Moderators: open

Message Too Old, No Replies

Load link only once

Don't load the url on a reload

         

Veil

3:23 pm on Jun 17, 2007 (gmt 0)

10+ Year Member



Hi folks. I hope this is the correct forum.

I have a site which I use in combination with my VoIP phone. I can send a phone number to the VoIP phone with a link, and then it starts calling. Very cool, but I have a problem.

I made a link like this:

<a href="http://url.voip.phone/?number=012345">Call 012345</a>

This works great, but it opens a webpage, and I'd like to hide it. So I did this:

<a href="http://url.voip.phone/?number=012345" [b]target="hidden"[/b]>Call 012345</a>

It now opens in a frame called 'hidden'.

But now the problem. When I reload the page for whatever reason, this hidden frame is being reloaded also, and my VoIP phone starts calling the last number I sent to it.

So my question is, is there any way to load this url only once? Somewhere in the background?

Thanks for your input!

DrDoc

12:09 am on Jun 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, using JavaScript you could always invoke AJAX to "call" that URL. However, using an iframe ... it shouldn't reload when you refresh the page, should it?