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

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.


$|=$_="1g2i1u1l2i4e2n0k",map{print"\7",chop;select$,,$,,$,,$_/7}m{..}g

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://232763]
help
Chatterbox?
[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
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (237 votes). Check out past polls.

    Notices?