in reply to Losing my Cookie

Check out the way CGI::Application::Plugin::Session uses CGI::Session I ended up using the logic it uses and I have not had any problems

Replies are listed 'Best First'.
Re^2: Losing my Cookie
by Herkum (Parson) on Oct 17, 2008 at 22:02 UTC
    Actually I am use CAP::Session, and it works fine so long as I display pages via perl script. If I ask for a static page, like HTML, for some reason the cookie is not sent so the browser removes it. It is probably my ignorance of how cookies are supposed to work...
Re^2: Losing my Cookie
by Anonymous Monk on Oct 18, 2008 at 22:20 UTC
    $session->expire('+1M'); # expire after a month and so on.