Jump to content

Content of external site in a frame

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Guest_prays_*

Guest_prays_*
  • Guests
Hi,
I don't have that much experience in java, i'm only looking for at solution because some friends of my told me that java would be the most plausible solution.
But i can try to describe my project in details. I'm making a website where people can earn point for playing and registering for contests etc. But the contests are provided by a external site, and for me to give them their points, i have to be sure that they really have registered for the contest. Thats why i wan't to check the URL or content of the frame, to see when it changes to the confirmation page, that you get when you register.
I have tried with javascript, but of course you get permission denied, due to the cross-frame security thing. But if someone have a solution to the problem, or will make me the code, i'm willing to pay for a working script.

Thanks!

#2
oubless

oubless

    Newbie

  • Members
  • PipPip
  • 22 posts

prays said:

Hi,
I don't have that much experience in java, i'm only looking for at solution because some friends of my told me that java would be the most plausible solution.
But i can try to describe my project in details. I'm making a website where people can earn point for playing and registering for contests etc. But the contests are provided by a external site, and for me to give them their points, i have to be sure that they really have registered for the contest. Thats why i wan't to check the URL or content of the frame, to see when it changes to the confirmation page, that you get when you register.
I have tried with javascript, but of course you get permission denied, due to the cross-frame security thing. But if someone have a solution to the problem, or will make me the code, i'm willing to pay for a working script.

Thanks!
You need to request the pages on the remote site from your server side and supply the user with the information needed ( including fields to fill ), than redirect the request coming to your page to the remote site, check the response and write back info to the user ... etc.

if your server side is written in Java check URL, URLConnection classes:
URLConnection (Java 2 Platform SE 5.0)
If you want someone to write it for a fee ... Check the rules of the site and than post ( or pm ).
If you decide to write it on your own - good luck and test a lot ;)