Is there a script to show random URL address?

S

sduraybito

Hi,

I am using a pay-through service that allows a user to access a
specific page on my website. Let's call the page
www.mywebsite.com/content.htm. Since content is changing on this page,
I want to charge users every time they access it. However, once they
get there the first time, all they have to do is bookmark the page and
they can then access it directly without going to my pay-through page.
How can I force www.mywebsite.com/content.htm to show something like
www.mywebsite.com/KR%TV.htm in the address bar and as a bookmark and
have those characters change randomly everytime the site is accessed.

Can this be done using javascript?

Thanks,

Peter
 
L

Lee

(e-mail address removed) said:
Hi,

I am using a pay-through service that allows a user to access a
specific page on my website. Let's call the page
www.mywebsite.com/content.htm. Since content is changing on this page,
I want to charge users every time they access it. However, once they
get there the first time, all they have to do is bookmark the page and
they can then access it directly without going to my pay-through page.
How can I force www.mywebsite.com/content.htm to show something like
www.mywebsite.com/KR%TV.htm in the address bar and as a bookmark and
have those characters change randomly everytime the site is accessed.

Can this be done using javascript?

No. The address bar shows the URL of the page being visited. Period.
Anything involving security needs to be done on the server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top