Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] can any one tell me what ive missed?

Expand Messages
  • Charles K. Clarkson
    ... be ... serve ... I turned cookies to prompt on MSIE 5.5 and it asked me if I wanted to allow a cookie. The details looked just like your code. HTH, Charles
    Message 1 of 1 , Apr 26, 2001
    • 0 Attachment
      decal <blated@...> asked:

      : standard copied from a book type cookie code.
      :
      : ###############################################
      : #!/usr/bin/perl -w
      : use CGI qw/:standard/;
      : use CGI::Cookie;
      :
      : # Create new cookies and sets it.
      : $cookie1 = new CGI::Cookie(-name=> 'ID' ,-value=>'123456' ,-domain =>
      : 'derekalmond.com ',path =>'/');
      :
      : print header(-cookie=> $cookie1);
      :
      : #################################################
      :
      :
      : perfect in every way apart from the fact i dont get a cookie.
      :
      :
      : failing that can you try this link and see if it serves you a cookie? may
      be
      : its soemthing at my end (although every other site i visit manages to
      serve
      : one)
      :
      : http://www.derekalmond.com/cgi-bin/admin/give_cookie.cgi
      :
      : the page generated should be blank, cos ive removed all other code until i
      : get this bit working.

      I turned cookies to prompt on MSIE 5.5 and it asked me if I
      wanted to allow a cookie. The details looked just like your
      code.

      HTH,
      Charles K. Clarkson
    Your message has been successfully submitted and would be delivered to recipients shortly.