mstuder has asked for the wisdom of the Perl Monks concerning the following question:
And this will NOT work:#!/usr/bin/perl -w use strict; use CGI qw/:standard/; print header( -type => 'text/plain', -cookie => cookie( -name=>'ident', -value=>'cookie#1') ); print "Cookie SET";
I need a way to make this work. Maybe spawn off some sort of separate process to do it? I suspect many people are having a similar problem. M#!/usr/bin/perl -w use strict; use CGI qw/:standard/; print "Trying to set a cookie\n"; print header( -type => 'text/plain', -cookie => cookie( -name=>'ident', -value=>'cookie#1') ); print "Cookie SET";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cookie question
by grep (Monsignor) on Dec 08, 2007 at 00:56 UTC | |
|
Re: Cookie question
by Fletch (Bishop) on Dec 08, 2007 at 00:49 UTC | |
|
Re: Cookie question
by Cubes (Pilgrim) on Dec 08, 2007 at 11:51 UTC |