Here's an idea, if you really need both apps  and both sessions...

0) Add a column to phpbb user table which stores the CF-app's user
table's ID (say, RealUserID)

1) Make the phpbb login form page redirect you to a  CF login page for
your regular site

2) log in there, and redirect to phpbb/CrossSiteLogin.php

3) you should have cfid and cftoken on all requests now, so just make
CrossSiteLogin.php do a CFHTTP-like request (in php) using cfid and
cftoken, to your website, calling GetUserID.cfm (which just spits out
#session.userid#) and then set it automatically in the php session....

The only thing we're missing is some sort of session stickiness. I guess
you can embed an img src=image.cfm in your php templates to keep the cf
session alive while on phpbb....

-----------------



-----Original Message-----
From: Jeff Small [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 21, 2006 3:31 PM
To: CF-Talk
Subject: Re: A very specific ""message board/forum"" question...

> I just started using PHPbb on one of my sites and I am quite impressed

> with it. I don't see anyreason why you wouldn't be able to use the 
> database that PHPbb uses and either import the usernames and passwords

> into what you're doing in CF or just feed off of the usernames and 
> passwords directly. You could even do something where when they log 
> into ColdFusion and they try to go to the forums that you pass the 
> username and password into a page you create in PHP so that they are 
> automatically logged on. Why reinvent the wheel if you got a nice 
> performance tire ready and willing to be used.

Okay, okay...I'm listening....you've got my attention.

Are you currently doing any of this? 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233035
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to