Showing results for 
Search instead for 
Did you mean: 

What is it wth cookies?!


What is it wth cookies?!

Is there a good way of implemeting cookies in PHP to allow login (and preferrably logout) for different time periods. So that a user can enter their login details and a time to remain logged in (session, so many hours, forever) then be able to log out if they need to.

If anyone has achieved this 100% successfully id really like to know.