I have an authentication system working with phplib using cookies and sessions. I want to be able to keep a user logged in even if they close their browser and come back...i know this is done all the time, but this is my first system to use authentication on and I can't find any documentation on how to do it. I tried setting my cookie with no expiration, and the cookie stays, but I can't get phplib to recognize it. Can anyone point me in the right direction? Thanks.
Well debug your function that verify the authentication of the user and see if all the condition in there is applied...
If using firefox it has a nice GUI for viewing set cookies...
check the cookie is set... i done this before an had issue with setting the cookie., sessions end when user closes browser, cookies last as long as the timer allows.