Ok, now I've had it.
I know this is a FAQ, I know people don't like it when FAQ's are asked again, but I'm gonna do it anyway, because I couldn't find information.

I'm about to write my very own CMS which should fit my needs and preferences. So far so good.
I used Super Search and Google to find a simple explanation of how to keep track of logged in users.
Various sources refer to CGI::Session. I had a look at it, and at its tutorial. But it has a bit of an information overkill for me.
I found sources explaining how I should set sessions cookies manually, but those didn't tell me how to read those sessions cookies.

So what I basically need, is a simple way to either
sessions (update: which are cookies probably) for logged in users.

If you can tell me how to do this, or point me to a simple step-by-step tutorial for CGI::Session (or another session module (but note that I'm on Xitami, no mod_perl, no Apache or whatnot)), please do so.
But remember: the keyword is 'simple' here.
The thing I need to do seems rather simple to me (check whether some user is or isn't logged in), so the path should be simple as well, IMO.

Of course, thanks in avance :)

Update: changed 'sessions' into 'cookies' at some places.

In reply to Just Another Question About Sessions And User Management by muba

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.