I was reading the following article at http://www.devarticles.com/art/1/171/2
and I thought I should try it.
So I made a php class which:
Sets a cookie when an user logs in.
Creates a database entry in a Mysql Sessions table for the user
* Registers the session with php session register
This would be quite secure (I think...) , but......
Is it really necessary to register the session in a database?
Are cookies and php session handling functions alone secure enough?
How secure should I try to make my scripts?
I'm not sure if I should use this kind of session handling because it could slow down the site....
Thanks in advance