oohoohoohooh
Programmer
Hi, i've been using cookies to store my users login details but have been told it is more secure to use sessions. I've read a couple of tutorials on sessions but one thing I'm not understanding is that when you close the browser or visit another site the sessions are deleted (right?). So how does a user stay logged in the next time they visit the site. Could you provide any code examples where necessary as I would find it much easier to understand. Thanks