08-Jan-2016, 06:23 PM
Hello
My website uses userCake script to control if visitors are logged in or not and grant access to given pages accordingly. I have no problem integrating Commentics in pages that don't require the visitor to be logged in, but for those that do require to be logged in the presence of the first lines of code
My website uses userCake script to control if visitors are logged in or not and grant access to given pages accordingly. I have no problem integrating Commentics in pages that don't require the visitor to be logged in, but for those that do require to be logged in the presence of the first lines of code
PHP Code:
<?php
session_start();
?>
cause the user to be automatically logged out and asked to log in. If I remove those lines of code the issue disappears and Commentics seems to work properly. Are those lines really needed? What's the effect of removing them? How could I avoid this problem?