The way I understand it, since cfhttp is run on the server, not on the client, then all you are doing is logging the server into phBB. I think you will probably have to use javascript or a meta refresh to send the login variables to the server from the client, that way the client will get logged in to phBB.
Luke Freeman wrote: > Hi to anyone that can help. I have a website with a coldfusion login system > which works fine. However, i have recently intergraded a phpBB forum to the > site (clients request not my idea). I have managed to link the username / > password tables to my exisiting coldfusion site, so when someone registers > via the coldfusion script it automatically creates them a phpBB login too. > > The problem that I am facing is that when a user logs into the coldfusion > site they have to also login to phpBB seperatly. I have used CFHTTP to try > and force a login via phpBB but to no joy. Below is the script.. > > <!-- log into message board --> > <CFHTTP method="post" url="/board/login.php" resolveurl="yes"> > <CFHTTPPARAM type="formfield" name="username" value="test"> > <CFHTTPPARAM type="formfield" name="password" value="test"> > <CFHTTPPARAM type="formfield" name="redirect" value=""> > <CFHTTPPARAM type="formfield" name="autologin" value="1"> > <CFHTTPPARAM type="formfield" name="login" value=""> > </CFHTTP> > > Now the above code does sucesfully authenticate the user with phpBB and log > them in, but it does not save the session cookie so when the user navigates > away they are no longer logged in to phpBB. I have done some digging about > and found that the session cookie for phpBB is called php2mysql_sid. > > Does anyone know how to get this working? Probably a really simple > solution......... :o/ > > cheers! > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240880 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

