Hey i am wondering whats better for a sign in script. Cookies or sessions or do they both work the same.
actually they are pretty much the same it all depends on your needs.
If you an persistent log ins then use cookies, if you want them to log in everytime they visit then use sessions.