How do I setup Secure Sessions in PHP4.
I'm using PHP4, MySQL and SSL.
My current thinking is to turn off cookies, and store a copy of the users encrypted password in a session registered variable. Then, for each page access check if this value matches the encypted password variable in the database.
Is this secure, or is there a better or easier way to do this?