Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: Re: Cookies problem

by vorteks (Acolyte)
on Aug 04, 2002 at 18:28 UTC ( [id://187517]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Cookies problem
in thread Cookies problem

Sorry for wasting everyone's time, I managed to sort it.

If anyone else is a dumb as me, here's the solution.

#!/usr/bin/perl use CGI qw/:standard/; use strict; use warnings; $user='user1'; $cookie1 = cookie(-name=>'user', -value=>"$user", -expires=>'+1h'); -path => '/', print header(-cookie=>$cookie1);
Back to the books Thanks again!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2025-06-23 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.