| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|PHP and Cookies|
Hmmm Yum, Yum
I have some pages that are password protected. I am doing this by detecting a a cookie and if that cookie is'nt available re-directs you to the login page.
When you log in I set a cookie like setcookie("user","itsme")
The cookie keeps deleting itself, I thought that if you did'nt specify a limit thenit would last forever.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved