CGI/C cookie - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

CGI/C cookie

fnoyanfnoyan Posts: 103Member
Hi
How can I send a cookie with a CGI-C program?

Comments

  • JonathanJonathan Posts: 2,914Member
    Hi,

    : How can I send a cookie with a CGI-C program?
    I'm not familiar with CGI-C, but I would guess you just print a cookie header.

    printf "Set-cookie: name=value; path=/;
    ";

    Of course, CGI-C may have a sub/function/method call that does cookie setting that I don't know about. :-)

    Hope this helps,

    Jonathan

    ###
    # Example Of Perl 6 Syntax.
    push @will, my Power $button;
    my $hardware is Useless but Valuable;
    do ($nothing) while $i.work and print $stuff;
    push (@will, my Off $button) and die "with me";

Sign In or Register to comment.