Hi there,

> [Wed Sep 26 12:07:44 2001] index.cgi: Use of uninitialized value in
> string eq at Engine.pm line 26

This is just a warning, nothing really bad, but you should take care of
it.

> 23:     $cookieValue = $req->cookie("userID");
> 26:     if ($cookieValue eq "")

just "write":   if ($cookieValue)

it tests, if the $cookieValue has a value. 
If it has a value the cookie was found, if not there was no cookie
returned from the method above and so $cookieValue is false.

Hope that answers your question ...

Benjamin

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/P dx s: a? C(+++) L++ P+++ N++ w PS+ PE-(++) Y+ PGP 
t+ 5- X R@ !tv b+++ DI(+) D+ G e++(+++) UF++ h-- r@ y?
------END GEEK CODE BLOCK------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to