Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone who has used both Apache::Session and CGI::Session share their experiences of these modules.

How do they compare in terms of ease of use, performance etc?

Thanks for any input. Regards, Arun.

Replies are listed 'Best First'.
Re: Session modules
by adrianh (Chancellor) on Jun 10, 2003 at 15:36 UTC

    I'd also consider Cache::Cache, which is what I use for session management.

    Personally I dislike the API of Apache::Session (not being a huge fan of tied hashes). CGI::Session manages the session IDs for me, and I usually want to manage them separately from the persistance layer.

Re: Session modules
by talexb (Chancellor) on Jun 10, 2003 at 16:00 UTC

    I can heartily recommend CGI::Session -- works like a champ. There is, however, a typo in the documentation: the call $session->header does not, as advertised, output the header -- it just generates it and returns it. You still have to print out the result.

    --t. alex
    Life is short: get busy!