Hi Richard,
Personally I've never used cookies much before, and I'm prejudiced against them. They are a very good and expedient method of session tracking, espcially with
packages like Apache::Session, but I have always chosen to do my own session management. Remember there are 3 ways, rewritten URLs, cookies and hidden feilds.
an overview
Personally I favour serverside session objects to cookies and using a url rewritten session ID. If you implement this
yourself you will have a much clearer understanding of what is gong on and more control. But don't fall into the trap of inventing your own obscured method for generating IDs if you want any kind of security from session hijacks. Just like everyone thinks they can write a cunning new encrytion algorithm they think theres a novel new way to do this, stick with standard methods.
So, in a nutshell, if you are prepared to experiment with non-cookie methods I would do that.
For one thing it would solve your multiple window problem if you allow a range of valid ID's instead of relying on one cookie value.
Best of luck,
Andy
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.