And also very risky if someone gets their hands on the cookies.
When a user log's on, store his IP in the database along with his sessionid. Then when he visit's again in a few days he will send you the sessionid as a cookie, and you can verify the sessionid in the database along with the IP he is currently using. If he is not using the same IP, ask him to logon again.