this my folder arrangement,
here i'm using 2 database for forum and user login.
sso backend configuration ,

this what i done until now plz tel me a solution..
I assume you are testing this in localhost and your website files are in the folder 'separate_login'
In that case, your sso settings are correct.
Lets move to editing sso.php file.
Have you made any changes to that file ?
How does your user system work ? When the user logs in your website, do you store his/her userid and other data in PHP SESSION ?
Thank u so much for your reply 
yes i'm testing in localhost.
I made a changes only in client.php [downloaded from https://github.com/evnix/codoforum-sso] ,on documentation of sso they told only to edit client.php file.
Now, you only have to edit and upload the file client.php and sso.php to your server(website) but do not edit sso.php.
Changes made in client.php
$settings = array(
"client_id" => 'myclientid',
"secret" => 'mysecret',
"timeout" => 6000
);
if (USER_IS_LOGGED_IN) {
$account['uid'] = $_SESSION['login_userid']; //Your logged in user's userid
$account['name'] = $_SESSION['login_username']; //Your logged in user's username
$account['mail'] = $_SESSION['login_email']; //Your logged in user's email id
$account['avatar'] = ''; //not used as of now
}
You need to edit this block
if (isset($_SESSION['login_userid'])) {
$account['uid'] = $_SESSION['login_userid']; //Your logged in user's userid
$account['name'] = $_SESSION['login_username']; //Your logged in user's username
$account['mail'] = $_SESSION['login_email']; //Your logged in user's email id
$account['avatar'] = ''; //not used as of now
}
Already i edited that block into my session variable.
if its wrong, tel me what i want to do?For my login page , i used different database whether its right.
please reply me soon...
We can have a session on 7th of February, just email us your teamviewer id and password and the time when you can be online.
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.