Can one create a salt (random string), append it to a user id string, then md5 (or other encryption), save the same result as a cookie, and as a session variable, then include a php script on secure pages to make sure both cookie, and session variables match?
Would this be secure?