Re: Destroying Sessions
| From: | Chris Knipe | Date: | Fri, 10 May 2002 03:59:37 +0000 |
| Subject: | Re: Destroying Sessions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96899@lists.php.net to get a copy of this message | ||
> if ($VerifyPasword[ContactID] = $_SESSION['ContactID'])
>
> This statement is /always/ true if $_SESSION['ContactID'] is non-zero, or
> non-empty.
>
> If your code is copy-and-paste then the error is most likely because you
used
> a single 's' in $VerifyPasword[ContactID]. And also is better to
single-quote
> your array indices (see manual on arrays for reason):
GOD SAVE THE QUEEEN!!!!!!!!!!!
You're my hero!! Remind me to buy you a box of chocolates!!!!!!!! Yes, I
haven't confirmed this, but the code is copy & paste, so you are right.
It's a freaking spelling mistake, and no, in after three days of battling
with this specific loop - I have not noticed it.
*makes a eye test appointment to go for new glasses*
Thanks a MILLLLLION!!!