thanks

"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Dre" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I really did
> > and it behaves the same
> >
> > I tried isset() also but there is no good it still does not work !!!
> >
> >
> > "Afan Pasalic" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > Try use
> > >
> > > if(empty($_SESSION['uname'])
> > >
> > > instead
> > >
> > > if($_SESSION['uname'] = = "")
> > >
> > >
> > > Afan
>
> You should try a bit more debugging than just posting your code here. Try
> this at the top of your second page:
>
> print_r($_SESSION);
>
> Then you will see which values are set in $_SESSION and you can check if
> that is what you are expecting or not.
>
> Another idea would be using a ready made authentication/permission package
> like PEAR::LiveUser:
> http://pear.php.net/package/LiveUser
>
> Regards, Torsten Roehr

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

Reply via email to