noniekimp has asked for the wisdom of the Perl Monks concerning the following question:
The thing is the Content-Type is being called in another script (which is calling my script) which I can't change, so I'm stuck. Is there a way to disable the print header until after the cookie is set? I'm fairly new at this cookie thing, so any suggestions would be greatful!print "Content-Type: text/html\n"; my $cookieID = new CGI::Cookie(-name => 'MerchID', -value => $id); print "Set-Cookie: $cookieID\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Set Cookie Question
by ikegami (Patriarch) on Sep 02, 2004 at 17:00 UTC | |
|
Re: Set Cookie Question
by amonroy (Scribe) on Sep 02, 2004 at 16:16 UTC | |
by noniekimp (Sexton) on Sep 02, 2004 at 16:52 UTC |