How to use session in php to separate members from non-members?

Jona B

New member
the idea is to use session to separate it
so if non-members loaded the page, it will display sth different.

like comment..
if non-member see it, it will display the login form
if member see it, it will display the comment form to input.
 
Back
Top