Re: Re: I'm really getting annoyed with PHP

From: Date: Thu, 24 Jul 2003 11:12:37 +0000
Subject: Re: Re: I'm really getting annoyed with PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-156626@lists.php.net to get a copy of this message
> Ok, I have a question. Where is $_SESSION['valid_user'] getting set > (or unset)??? AFAICS, $_SESSION['valid_user'] is getting set by a previous page, it's a *session*. > Have you checked to see if your IF statement at the top of the script > is working like you think it should be?? Try putting an echo in > instead of the header() call and see if you get the output you think > you should. > > I suspect this isn't a "redirect isn't working" issue at all but a > "the > if isn't working like I thought it would" issue. :) > Err... that wasn't the original code... that was someone else's code that worked...

« previous php.general (#156626) next »