redirect from page referrer checker

A

Anna

Hi,

I have a password protected page that also has a page
referrer checker (so that you can only gain access to it
from one specific other page) - at the moment, if someone
tries to access the passworded area from another page, it
comes up with a message box and takes them back to the
previous page they viewed. Is there a way I can get them
redirected to a specific page on my website instead?

Thanks,

Anna
 
J

jon spivey

Hi Anna,

How are you sending them back to the previous page, I'm guessing as you
mentioned with javascript? If so you can redirect to any page like this
location.replace('AnyPageYouWant.htm')

If this doesn't help can you post up the script you're using?
 

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

Top