Re: Setting cookie with CGI.pm

by David Mintz <mambomintz(at)yahoo.com>

 Date:  Wed, 4 Apr 2001 13:41:29 -0700 (PDT)
 To:  Hwg <hwg(at)soundhouse.co.uk>,
hwg-languages(at)mail.hwg.org
 In-Reply-To:  co
  todo: View Thread, Original

--- Hwg <hwg(at)soundhouse.co.uk> wrote:
> I'm trying to set a cookie using CGI.pm and the
> following code but it
> doesn't appear to be working. Each time it prints
> 'Cookie not detected...'
> and the cookie doesn't appear to have been set in
> the browser. 

I can't tell from your example -- are you sending any
output to the browser before attempting to set the
cookie? If so, that may be your problem.

(Also, in the duh department, make sure your browser
isn't set to reject all cookies)

David Mintz
Spanish Interpreter
US District Court, SDNY
Personal http://panix.com/~dmintz/
Web design & hosting http://dmintzweb.com/

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA