I have a website, which links to other related websites. I give the visitors, username and password, so that once they login to the main website, on clicking the related links, they automatically login to other websites also.
In website A, iam setting the following session variables.
$_SESSION['uname']=$userna
me;
$_SESSION['upass']=$pwd;
I want this session variables available in the other websites also. After the user logs in, he can click the link to website B. But, the above session variables are not displayed in the website B. What could be the reason?
Any help is appreciated.
Thanks
Start Free Trial