Thanks for reading this issue and commenting on it. The links that you provided are useful, but I'm not sure if they would solve my problem. I believe that the fundamental problem is that the browser stores the post data information. It shouldn't do this. Even if I use cookies to store the session information, I would still have this problem. For example: The login page is an HTML form. When I get the login information from the form, my perl script will generate a session id. Let's say that I store this information in a cookie. If the user logs out, I delete the cookie. However, if the user now clicks the "back" button, the browser would re-send the login username/password without prompting the user for login information (security hole!). My perl script would then generate a session id.

I know that login forms are used in various websites. I'm not sure how they solve this problem or if this is simply my own implementation issue. The wealth of information in the web on session tracking is dizzying, and it's confusing about what really works and what doesn't.

Monica

In reply to Re: Re: Session Expiration and Refresh Button by Anonymous Monk
in thread Session Expiration and Refresh Button by Anonymous Monk

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.