Hi Everyone!

    I'm a little bit baffled by this problem.  The sample script below
showed that it should work but it doesn't because most of them returned
false...

--snip--
session_start();

print_r($_SESSION);  //This one work because it spitted out datas from
previous webpage...

echo (!(is_array($_SESSION)));                         //This spitted out
result as a blank...
echo empty($_SESSION[USER_ID]);               //This spitted out result as
"1"...
echo empty($_SESSION[CUSTOMER_ID]);    //This spitted out result as a
blank...
echo empty($_SESSION[USER_LOGON1]);   //This spitted out result as "1"...
echo empty($_SESSION['PHPSESSID']);         //This spitted out result as
"1"...
--snip--

    It was working fine from before until I expanded the customer table by
adding 6 more columns to it and updated the $_SESSION script by assigning
the odbc_result data to each one of them (6 addition)...  I have no idea
what is the problem here...

Scott F.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to