I have visited various sites n when I log in,there is an option
"remember me"
I want to know how this works....Do they use a cookie for this task.....
I usually put time()+3600 for it to expire one hour later ...What should I put as the expiration date such that it remembers me till the next time I log in?
The syntax of the coookie is :
setcookie(name, value,expire,pa th,domain,secur e)
"remember me"
I want to know how this works....Do they use a cookie for this task.....
I usually put time()+3600 for it to expire one hour later ...What should I put as the expiration date such that it remembers me till the next time I log in?
The syntax of the coookie is :
setcookie(name, value,expire,pa th,domain,secur e)
Comment