"Michael Jonsson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> No, it's not set to NULL it just emty...

Empty means:

$_SESSION['user_status'] = '';
or
$_SESSION['user_status'] = 0;

Not setting it does NOT mean it's empty.

Torsten

>
> .M
>
>
> Torsten Roehr wrote:
> > "Michael Jonsson" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>Hi
> >>
> >>Why do I get an error if the $_SESSION['user_status'] is NULL ???
> >>
> >>
> >>####Script######
> >>session_start();
> >>echo $_SESSION['user_status'];
> >>
> >>
> >>#####error######
> >>Notice: Undefined index: user_status in
> >>/var/www/itmdata/include/include.php on line 13
> >
> >
> > Did you really set it to null?:
> >
> > $_SESSION['user_status'] = null; ?
> >
> > Regards, Torsten

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

Reply via email to