Somehow, I don't see how your "unique ID" is garanteed to be unique. You're just using a sequence of randomly picked word characters, aren't you?
If part of your session ID was the time() when the session started, perhaps encrypted and/or shuffled in a predetermined order, there's only so many sessions that could get started in that second. So if you now make sure the remainder of what your session ID string consists of, is unique for that starting second, then the session ID will be unique, period. And if that remainder is quite random and long enough to be very hard to guess, then hijacking a session seems very unlikely to me — but not impossible. I would think that recognizing attempts to break into a session, with repeated tries with various candidate session ID's, and taking appropriate action (whatever that may mean), would be the logical next step.
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.