This is a discussion on "Page that will only open if it comes from a redirect (Looking for a way to do this)" within the JavaScript Forum section. This forum, and the thread "Page that will only open if it comes from a redirect (Looking for a way to do this) are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Page that will only open if it comes from a redirect (Looking for a way to do this)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
My problem is that I want to give people an address that they can not give to other people! And I don’t want to create a login system, what I am looking for is a page that redirects to an other page that can only be opened if it has been opened by the redirect before it. I am thinking there may be some java scrip for this or something.
I would also be interested in a way to make a page change its name e.g. http://www.test.com/privrgxergergergatrgerg.hcgl as soon as someone hits the above address the address changes to: http://www.test.com/private.hcgl (and private.hcgl dose not really exist or is something else) |
|
|
|
#2
|
||||
|
||||
|
Re: Page that will only open if it comes from a redirect (Looking for a way to do thi
You can set a session on the redirect and then test to see if it's set on the final page. PHP would be a much better way to do this, however.
|
![]() |
| Tags |
| question |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to automatically redirect user to previous page | sing2trees | Web Page Design | 2 | Apr 26th, 2008 00:14 |
| After login: Redirect to page in history (Current - 2)... | skuliaxe | PHP Forum | 4 | Feb 20th, 2008 16:54 |
| need to onclick to open info in div on same page | apster | JavaScript Forum | 2 | Apr 30th, 2007 09:56 |
| Open xml in new html page | kingfrank | JavaScript Forum | 3 | Apr 4th, 2007 11:26 |
| Open page in new window | autumn_whispers2me | Web Page Design | 20 | Feb 15th, 2005 02:04 |