Skip to:

Integrating Ajax Chat – How to reuse an existing session cookie?

  • rareexample


    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 = ‘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!


    Wiki over at :

Viewing 12 replies - 1 through 12 (of 12 total)

  • swaymedia


    Would love to know this also.



    I don’t believe bbPress uses sessions at all.



    Hmm, any recommendation for a live shoutbox or live chat implementation?

    Olaf Lederer


    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?

    correction: trying to view cookies. bbpress doesn’t even use cookies.

    bbPress does use cookies. Go to Tools -> Options -> Privacy and click on ‘Remove individual cookies’

    In there, search for your URL.

    ??? there is no options>privacy window. just tools, nothing else.

    bump, for the love of god!!!

    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?


    I want that to be pointed to a particular value in a different database. how would i do that?

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Skip to toolbar