Hello again!
My site have to visit only by registered users. At beginning, the user must enter his code and his password.
Actually, i use session and i register his code in the session.
In the next pages, the first thing that i do is check that the variable code is registered in the session. If it's true, i continue, and if not, i exit. But, i don't know if this method is secure or not. I've read that a solution is to create a id session for each user and send to user a cookie with the session id encrypted...ok, this is a solution, but what i need to know first is if i have a problem!!
I have no problem yet...
Thanks!
Router 🙂