I am trying to integrate phplist into my client's site so that admins who have already logged in to their admin area (via a custom database-validated login) won't have to log in a second time to phplist. I would like to set things up so that my enclosing script does whatever setup is needed so that phplist considers the user logged in as an admin, without changing the code of the phplist modules themselves, so I don't have issues with new releases.
I have tried setting $_SESSION["adminloggedin"] and $_SESSION["logindetails"] variables in my script (where I am running phplist in an iframe) prior to invoking phplist but am still prompted to log in. I have also tried pointing to an alternate config file which has $require_login set off, but can't seem to make the alternate config file active.
My current fallback is to leave $require_login off, but am concerned about the security implications. I'd be very appreciative of suggestions on how to get there from here.
Thanks,
Barry