Thanks Blaz, but I need the users to stay logged in for up to 2 weeks at a time. I thought sessions were only temporary and go away after the user closes the browser, thus having to login every time. Is there a way to make them last longer or do I need to store a cookie that will create a new session somehow? Thanks for the help. (I'm coding in PHP by the way)
Main Topics
Browse All Topics





by: BlazPosted on 2009-04-14 at 03:48:40ID: 24136630
Use session for "login" variable instead of a cookie. The user does not have access to session variables.