|Problems? Is your data what you think it is?|
Sessions with perl cgiby wolis (Scribe)
|on Oct 16, 2003 at 04:15 UTC||Need Help??|
wolis has asked for the
wisdom of the Perl Monks concerning the following question:
Just wanting some of your opinions on session IDs.
I use code like this:
Where $$ is the systems session ID (I belive), time is seconds since some time long ago, and ^ is.. well some maths function
I then carry this 'unique' number around with me (in form posts etc..) to determin if its the same session.
On some rare instances this can calculate two identical numbers so I was wondering if there was anything more robust for generating unique session IDs