Phatty2x4
10-10-01, 04:58 PM
Does anyone know if this exists?
I have a web site - let's say for this example it's mysite.com
in mysite.com - i have 5 pages
1) the home page
2) the login page
3) the content pages (3 of them)
so it might look like this
3a)<----+
3b)<------------ (2) <------ (1)
3c)<-----+
is there a script that I can place in the content pages such that:
1) Will detect where a user is coming from
2a) If they are not coming from (2) the login page, they are redirected to the login page.
2b) if a user is coming from login page - they can access the content pages
so, if a user attempts to goto
mysite.com/3a.htm (for example) they will be redirected to
mysite.com/login.htm
Does something like this exist? Please tell this does exist!!!
I have a web site - let's say for this example it's mysite.com
in mysite.com - i have 5 pages
1) the home page
2) the login page
3) the content pages (3 of them)
so it might look like this
3a)<----+
3b)<------------ (2) <------ (1)
3c)<-----+
is there a script that I can place in the content pages such that:
1) Will detect where a user is coming from
2a) If they are not coming from (2) the login page, they are redirected to the login page.
2b) if a user is coming from login page - they can access the content pages
so, if a user attempts to goto
mysite.com/3a.htm (for example) they will be redirected to
mysite.com/login.htm
Does something like this exist? Please tell this does exist!!!