Menu

Got POC working, except...

2003-11-19
2003-11-20
  • eddycurrents

    eddycurrents - 2003-11-19

    There seems to be some weirdness with users not logging out. I think the logout function isn't working.

    If I log out, then try to log back in, I can't change my user name. The fields are greyed out.

    If I use another browser I can come in as another user, and it still shows my old user is logged in.

    I looked up the cookies and deleted them on my PC, and it stopped the greying-out bit. But I can't tell my users to delete the chat cookies before they want to chat!

    Anyone have any ideas / fixes?

    Also, chatting with the Opera browser causes everything to echo. IE works fine.

    Getting this thing working really took some doing. Definitely not a project for people not familiar with Unix, mysql, PHP, and an understanding ISP.

    Plus I don't think the developers read this forum at all. There are some things on the German forum, but I don't read German. Translators don't work so well and take too long. :-P

     
    • Michael Oertel

      Michael Oertel - 2003-11-19

      > If I log out, then try to log back in, I can't change my user name. The fields are greyed out.

      If you don't want this feature, add to 'chat::logout()':
      unset($_SESSION['chatter']);

      > If I use another browser I can come in as another user,

      The authentification data are still active within the session. using another browser creates a new session, with maybe a new chat-user.

      > Also, chatting with the Opera browser causes everything to echo

      Opera has a javascript bug, a document.write('foo') reloads the output frame instead to appand it. So we implement a workaround to get POC running with Opera.

      > Plus I don't think the developers read this forum at all.

      certainly we read this forum, but I recommend to use the forum at http://www.h-h-c.de/pocforum/ which is  a multilanguage forum (english/german)

      remember, we all have jobs taking 10 h of our time each day..., have a family, have kids, ...

      enjoy POC,
      -letreo

       
    • eddycurrents

      eddycurrents - 2003-11-19

      Is this what you meant?

      In "class.Chat.inc" I found:

      ...
      function logout()
      ...
      //unset($_SESSION['chatter']);
      ...
      //session_unregister('chatter');
      ...

      Both of these lines were commented out. I uncommented them. That seems to have done the trick. Did I need to uncomment both lines?

      I'm really glad you guys read the forum here. Please don't take my comments negatively. I think you did a terrific job. POC is just rough around the edges and hard to get going. I realize you are still working on it and can't anticipate every ISP configuration.

      The other forum is almost all German. I have used translators on some posts but that doesn't work very well. Plus I can't search that way. :(

       
    • Michael Oertel

      Michael Oertel - 2003-11-20

      hi,

      > Did I need to uncomment both lines?
      sure, you have to uncomment both lines.

      > Please don't take my comments negatively.
      No problem, but it's mostly better, if the community knows who stands behind it...

      > The other forum is almost all German. I have used
      > translators on some posts but that doesn't work
      > very well. Plus I can't search that way.
      Hey, that's really deplorable! Only one language you speak? *hmm* German is very interesting!
      ;)

      If you don't ask, there will never be english content to search into.

       
    • eddycurrents

      eddycurrents - 2003-11-20

      > Hey, that's really deplorable! Only one language you speak? *hmm* German is very interesting!
      ;)

      Mais non, je parle francais aussi. Peut-etre que je vais apprendre l'allemand a l'avenir.

      > If you don't ask, there will never be english content to search into.

      Good point. But the English speakers seem to be here.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.