Part of the problem leoncharre is that everybody uses CGI::Session differently. As perrin said, you can just use Storable and look at the file, but then you need to know what you are looking for! And you need to know what you put in there. Storable is fast and full of goodness, but it doesn't work for every situation.

We have one instance where we use a single session database shared between three Web-apps. So for that we need to use the database - typically MySQL. The real fun part is that we can, of course, have the different apps on different machines that way. But I think the reason you haven't seen any modular code is because in reality very few people need to peer into the session data for any reason. If you do it is likely that your requirements will be more than minimal and you would need to craft it yourself anyway.

jdtoronto


In reply to Re^3: open sessions management by jdtoronto
in thread open sessions management by leocharre

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.