This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Conflict with login script
#1

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
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?
Reply
#2

Those lines are only needed if your site doesn't start its own session. If your site has its own session then it's okay to remove them. Commentics can use your site's session.

Have you completed the interview?
Reply
#3

Ok, thanks
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
22-Sep-2023, 06:15 PM
Last Post by Steven
25-May-2019, 05:50 PM
Last Post by Thomass
11-Dec-2016, 03:04 PM
Last Post by Euroaquilo
13-Feb-2015, 01:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)