I'm writing a login script using PHP. It checks for username & password from a database. How do i set a cookie that has the username & password for an infinite amount of time so that user doesnt have to retype it each time?
Also, how to delete it.
I did a search in this forum and found Karl's example of infinite amount of time but couldn't figure out a way to delete it.
Any help would be greatly appreciated!