yes, that old nutshell. though in my searches, there appears to be surprisingly few pearls in all the swine which actually discuss in some kind of detail (a la the cookbook) the relative merits of the various solutions.

the problem is: i'd like to have a persistent data structure or set of RDMS data which persists across multiple cgi script sessions.

the best methods that i can envisage for doing this are:

i'm sure a million monks have broached and solved all these issues dozens of times... can anyone offer me some wisdom? my particular site uses MySQL and the database involved is only fairly small.

advice, comparisons, and links all greatly appreciated.

j.a.dirty.p.h


In reply to the best way to implement persistent data across CGI scripts by d_i_r_t_y

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.