--- Victor <[EMAIL PROTECTED]> wrote: > I ask this function to return the value of a specifik > session, that is, if the user is logged in the value > is at least 10.
... > this means, that if the user is not logged in, a > copyright © sign will appear over the image. > > And this fails… Don't know why because the same code > works on other pages… What exactly is failing? Do you mean that a user who is not logged in does not see the copyright sign? If this is so, is the reason because your function is returning a 0 or because the value of your session variable is less than 10? I do not understand why you are checking to make sure it is at least 10, but maybe the sessions are working fine, and your logic needs a bit of tuning. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php