Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: CGI::Application redirect loses cookie

by rhesa (Vicar)
on Jan 06, 2009 at 04:41 UTC ( #734346=note: print w/replies, xml ) Need Help??


in reply to CGI::Application redirect loses cookie

I'd pass the session id in the redirect url:
$self->redirect('admin.cgi?' . $self->session->name . '=' . $self->ses +sion->id);

Another idea would be to make sure you have already sent the cookie with login.tmpl.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-09-26 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (142 votes). Check out past polls.

    Notices?