Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by projekt21 (Friar)
on Oct 26, 2001 at 13:20 UTC ( #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
Node Status?
node history
Node Type: note [id://121606]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-04-15 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?