Farhad
|
| Posted: 01/07/2005, 8:27 AM |
|
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C4F4EF.3BF8F8F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I want to make sure that visitors to my site follow a definite path in =
order to get to particular pages.
For example... they should go to
Index, then
Products then=20
Order Form
If somebody enters the URL of Order Form only then I want it to =
$Redirect to index page.
So somehow I want to check from the Order Form that only people coming =
from Product page can enter.
Any Idea
Thanks
Farhad
------=_NextPart_000_0015_01C4F4EF.3BF8F8F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I want to make sure that visitors to my =
site follow=20
a definite path in order to get to particular pages.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>For example... they should go =
to</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Index,</STRONG> =20
then</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2><STRONG>Products </STRONG> =20
then </FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>Order =
Form</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If somebody enters the URL of Order =
Form only then=20
I want it to $Redirect to index page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>So somehow I want to check from the =
Order Form that=20
only people coming from Product page can enter.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any Idea</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Farhad</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0015_01C4F4EF.3BF8F8F0--
|
|
|
 |
RonB
Posts: 228
|
| Posted: 01/09/2005, 7:16 AM |
|
Look at the http header called referer. With this you can trace from where the client came to the page. After getting this header you can do a simple if/else condition in the before show to redirect people to the index page if the referer is anything else then http://your_domain/products_page.php
|
 |
 |
|