Info
- 13 posts
- 6 voices
- Started 2 years ago by rareexample
- Latest reply from pikatore
- This topic is not resolved
Integrating Ajax Chat - How to reuse an existing session cookie?
-
- Posted 2 years ago #
Hi All,
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['sessionName'] = '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!
Cheers
Wiki over at : http://ajax-chat.wiki.sourceforge.net/Reuse+existing+session+cookie
-
- Posted 2 years ago #
Would love to know this also.
-
- Posted 2 years ago #
I don't believe bbPress uses sessions at all.
-
- Posted 2 years ago #
Hmm, any recommendation for a live shoutbox or live chat implementation?
-
- Posted 2 years ago #
right no session at all :)
@rareexample, just use the cookies created by bbpress (using firefox it's easy to discover the cookies)
-
- Posted 2 years ago #
@finalwebsites, how do you use firefox to discover the cookies?
-
- Posted 2 years ago #
correction: trying to view cookies. bbpress doesn't even use cookies.
-
- Posted 2 years ago #
bbPress does use cookies. Go to Tools -> Options -> Privacy and click on 'Remove individual cookies'
In there, search for your URL.
-
- Posted 2 years ago #
??? there is no options>privacy window. just tools, nothing else.
-
- Posted 2 years ago #
bump, for the love of god!!!
-
- Posted 2 years ago #
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 :)
-
- Posted 2 years ago #
ok, cookie found.
PHPSESSID
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?
-
- Posted 2 years ago #
array();
I want that to be pointed to a particular value in a different database. how would i do that?
-
You must log in to post.