Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: CGI, cookies, sendmail, HTML attachments, searching txt files,

by projekt21 (Friar)
on Oct 26, 2001 at 13:20 UTC ( [id://121606]=note: print w/replies, xml ) Need Help??


in reply to CGI, cookies, sendmail, HTML attachments, searching txt files,

For question No. 3:

I use something like that to read and write cookies:

use CGI; my $q = new CGI; # read cookie my %cookies = $q->cookie(-name => "test_foo"); my $bar = $cookies{bar}; my $foo = $cookies{foo}; # write cookie my $cookie = $q->cookie(-name => "test_foo", -value => { foo => "foo", bar => "bar", }, -expires => '+10m'); print $q->header(-cookie=>$cookie, -expires => "now");

alex pleiner <alex@zeitform.de>
zeitform Internet Dienste

  • Comment on Re: CGI, cookies, sendmail, HTML attachments, searching txt files,
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://121606]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-20 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found