in reply to Re: Re: Cookies problem
in thread Cookies problem

I can't even post a question right so what chance have I got? My apologies.

Replies are listed 'Best First'.
Re: Re: Re: Re: Cookies problem
by vorteks (Acolyte) on Aug 04, 2002 at 18:28 UTC
    Sorry for wasting everyone's time, I managed to sort it.

    If anyone else is a dumb as me, here's the solution.

    #!/usr/bin/perl use CGI qw/:standard/; use strict; use warnings; $user='user1'; $cookie1 = cookie(-name=>'user', -value=>"$user", -expires=>'+1h'); -path => '/', print header(-cookie=>$cookie1);
    Back to the books Thanks again!