This topic is locked
[SOLVED]

 Two Projects - single login

10/6/2014 08:39:58
PHPRunner General questions
P
prattster1874 author

Sorry if this has been answered, I have trawled the forums, but can't seem to find an answer.
I have one project that uses advanced security and a second project that just uses standard security. They both access the same database, which includes a Users table for authentication.
I have put a link on the menu of project 1 to a list page in project 2, however (as you would expect) project 2 expects and prompts for a login. How can I get project 2 to automatically login?

Sergey Kornilov admin 10/6/2014

In include/dbcommon.php file of both project delete the line that looks similar to this one:

@session_name(str_replace(" ", "", "s1412624882"));
P
prattster1874 author 10/8/2014



In include/dbcommon.php file of both project delete the line that looks similar to this one:

@session_name(str_replace(" ", "", "s1412624882"));



Thanks Sergey - works fine. That's what I was looking for!