views:

41

answers:

0

I have created an application in Visual Basic 2010 Express that is essentially a 'radio player'. It has half a dozen buttons and a web browser control. Each button links to an online 'listen live' radio station.

Clicking each button simply navigates the browser control to the appropriate URL. Simples!

My problem?

One particular site seems to be holding onto the session upon navigating away. When you click to listen to that station, then another, then return, the site appears but does not play. You have to close the application then re-open it for it to work. (All other stations are fine).

I've noticed that if I visit the 'live site' through a regular browser, it's player opens in a new tab, which you then close when finished with. (Naturally!) I guess it's because my control doesn't 'close', it just navigates to another page which is causing my problem.

Question is: How do I get around it?

Can I somehow clear it's session/cookie (or whatever is being left behind) as I 'change stations'? If not, any other thoughts on how to make the page work on it's second visit without having to restart the whole app?

Anything you could come up with would be invaluable.

Many thanks in advance. (Hope I've given enough information on what my problem is and what I'm trying to achieve).