I prefer the id + secret route because it is easier to deal with in the database. The id can be a integer which the indexes like and the secret is just a char(30) or whatever. Having the id as an integer allows for easy referencing from other tables. There is also the cosmetic appeal of seeing how many sessions you have gone through...
--tidiness is the memory loss of environmental mnemonics
In reply to Re^4: Is this a secure way to prevent cookie tampering
by EvdB
in thread Is this a secure way to prevent cookie tampering
by EvdB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |