in reply to Re: Need Help on CGI::Cookie
in thread Need Help on CGI::Cookie

Thanks for your time, moritz. I tried using, $user = $cookies{'USER'}->value; but it does not work either. I use strict and warnings. And your correct, it always print undef. when I print the environmental variables, I found that cookie is not set. Please let me know what else I need to check? Thanks again.

Replies are listed 'Best First'.
Re^3: Need Help on CGI::Cookie
by moritz (Cardinal) on Sep 07, 2007 at 16:21 UTC
    If the cookie is not set, you have to debug the part where the cookie should be set.

    Try to query that CGI page with wget --server-response $url and paste the headers here.