in reply to Sessions In With CGI::Session

Apart from the "f_name/l_name" glitch, you can avoid all that cookie mumbo jumbo by just saying
print $session->header();

since CGI::Session sets the cookie for you. You should use load instead of new in your second file. Consult the docs.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^2: Sessions In With CGI::Session
by SketchySteve (Initiate) on Apr 23, 2007 at 13:58 UTC
    Thanks for the help guys, much appreciated.