When the users delete their cookies, they get new sessions and the old session files are abandoned. (I assume that randomfile is a random file name and that you are not storing every session in a file literally named randomfile.)
I will guess that every request carries the session cookie and the errors occur due to simultaneous requests (for images or other supporting resources) and your application is not being sufficiently careful with session handling, causing locking conflicts. Something like:
- User requests /foo
- /foo is HTML referencing /foo.css and /bar.png
- User's browser initiates concurrent requests for those resources, possibly while still retrieving /foo itself
- Server handles requests concurrently, attempting to load session data for the secondary requests and colliding with the session update lock as the retrieval of /foo completes
The answer is either to avoid loading the session for subsidiary requests or to use a session store with better concurrent access performance. PostgreSQL usually works very well.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.