digitalpower
BANNED
- Dec 16, 2008
- 303
- 70
I am working on a PHP login system but I am stumped. The system right now can do the following:
1) User can create an account
2) User can confirm their e-mail address
3) User can login to the account and see member-only pages
The problem is that once a user logs in and sees the web pages that only registered users can see, they can only see it once. Once they leave the page, they have to login again. I know you have to use $_SESSION and session_start() but I am confused. Can someone please assist? Also, if there is an already developed login system for PHP that is similar to the ASP.NET 2.0 Membership system, can you please let me know?
1) User can create an account
2) User can confirm their e-mail address
3) User can login to the account and see member-only pages
The problem is that once a user logs in and sees the web pages that only registered users can see, they can only see it once. Once they leave the page, they have to login again. I know you have to use $_SESSION and session_start() but I am confused. Can someone please assist? Also, if there is an already developed login system for PHP that is similar to the ASP.NET 2.0 Membership system, can you please let me know?