Integrating Ajax Chat – How to reuse an existing session cookie?
I’m wondering if someone can point me in the right direction, note I’m not very good with php/code.
I’m trying to implement a live chat shoutbox with bbpress using Ajax Chat. My goal is to get users logged in to bbpress, automatically log in with their BBpress credentials into the Chat.
In the Ajax chat wiki, it seems simple enough as they state:
If you want to reuse an existing session cookie set from another application just adjust the following setting in lib/config.php:
// Session handling:
$config = ‘PHPSESSID’;
Change PHPSESSID to the name of the session cookie you want to use.
I guess my question is, what is BBpress’s PHPSESSID and how can I make this work?
Thanks in advance!
Hmm, any recommendation for a live shoutbox or live chat implementation?
right no session at all
@rareexample, just use the cookies created by bbpress (using firefox it’s easy to discover the cookies)
@finalwebsites, how do you use firefox to discover the cookies?
In there, search for your URL.
??? there is no options>privacy window. just tools, nothing else.
pikatore, please relax. This is a VOLUNTEER forum, and you have to be patient or you’ll piss everyone off and no one will help you. Okay?
It sounds like, since your TOOLS menu doesn’t have options, you’re on a Macintosh, which means you need to go to Firefox -> Preferences -> Privacy.
Finding out where cookies are stored in your browser is pretty standard stuff. You could also google it
ok, cookie found.
and i have a value for it.
is it a simple matter of subbing that value into the line of code in the first post?
what will that do? does it make the chat function use your login name?
- You must be logged in to reply to this topic.