Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
First, an answer to the following ppl:
to fpi (and everyone else) sorry - this may not be strictly perl related. it didnt occour to me on the first post, as cgi nearly always equals perl in my mind.
to athomason, thankyou! that was exactly what I was looking for. Until I thought about it a little more.

Now for everyone else:

I am attempting to write a webmail program to check pop mail from any server. The question is secuity and (now) how to implement sessions. I have everything working as planned. I store a cookie with the session number and write a file for each session on the server containing the users details. It occured to me much later, that I cannot see a way to delete these files automatically, assuming the user does not click 'logout'.
I would prefer not to use SQL or anything complicated to make it possible to install on (almost) any server. I have been racking my brains about it, and I think there is probably no solution but to use a database. And even then I will have to find out if a database can do it. What do fellow monks think?
Thanks!

In reply to Secure passwords again 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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-08-17 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?