Re: Re: php session in ie
| From: | sunaram patir | Date: | Sat, 12 Nov 2005 16:50:35 +0000 |
| Subject: | Re: Re: php session in ie | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225674@lists.php.net to get a copy of this message | ||
On 11/12/05, James Benson <jb@jamesbenson.co.uk> wrote:
>
>
> sunaram patir wrote:
> > Hi, i am having problem with internet explorer. i am working on
> > $_SESSION['myurl']=$_SERVER['PHP_SELF'];
> > if(!isset($_SESSION['student_username']) &&
> > !isset($_SESSION['student_password']))
> > header("Location: login.php");
> > ?>
>
>
> You should use an absolute path for the header redirection,
>
> header("Location: http://example.com/login.php");
>
thanks, but it doesn't still solve the problem.