Re: redirection

From: Date: Mon, 29 Apr 2002 03:43:34 +0000
Subject: Re: redirection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95069@lists.php.net to get a copy of this message
On 28 Apr 2002 at 19:11, Norman Zhang wrote: > I want to set up a check that the page cannot be exacted by calling from > another page. E.g., members.php can only be excited if it called by > login.php. If your login page does some sort of authentication and then either sets a cookie or a session variable or something you can check for that instead. If there's no valid login (cookie, session, whatever) then redirect back to the login page. CYA, Dave

« previous php.general (#95069) next »