Thanks for the reply. I am already using CGI (from my code above I didn't show you that $q-> new CGI();) and I am looking to use CGI::Session b/c I agree that splitting the QUERY_STRING is not the best method. But then again, we all crawled before we ran, right? I'm not a programmer by any means. It is simply by the virtue of the helpful folks here at PerlMonks and countless hours of reading/writing/testing that I am able to perform the minimal Perl/CGI writing that I do. Once I set a cookie, how to I access it from the second page? I'm assuming that if I use the default method for generating a cookie that it's name will be the session ID. So I still have to know what that is to reference the cookie from page two, right?

my $session = new CGI::Session(); print $session->header();

In reply to Re^2: Understanding the Use of Session Variables by spickles
in thread Understanding the Use of Session Variables by spickles

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.