Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: cookie AND redirect...

by giulienk (Curate)
on Feb 05, 2003 at 08:26 UTC ( #232763=note: print w/replies, xml ) Need Help??

in reply to cookie AND redirect...

use CGI qw(:standard); #do everything print redirect( -url => $redirect_url, -cookie => cookie( -name => 'WHATEVER', -value => 'see_NB' ) );
NB: check merlyn's previous reply (and article) for a good policy about what should go and what shouldn't go in cookies.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://232763]
[Tanktalus]: Tux: last hour of cb and the cbstats run on Coro/AnyEvent, so I'm kinda still using his stuff :)
[Tanktalus]: It's too bad, AnyEvent is really nice, and Coro is mindblowing. :(
[Tux]: JSON::XS is also something I wouldn't want to work without, so I use distroprefs and patches that I maintain on github
[Tanktalus]: clobbering common::sense altogether looks smarter than what I did :)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2017-09-20 16:24 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (237 votes). Check out past polls.