Menu

Switchboard session not available

2007-04-01
2013-04-29
  • Richard Walton

    Richard Walton - 2007-04-01

    This is giving me a headache!  If I don't send any messaging during a chat session for a minute or two (i.e I go make a cup of tea) when I come back and try send a message over the same switchboard I get a Session not available execption.

    Any ideas?  I tried creating a new session for each message (Yes, this sounds as bad as it looks code wise), but it is a complete bitch, especially since MsnMessenger.newSwitchBoard() doesn't actually return anything, and I have to listen for the switchboardCreated event

    Any ideas?  Mucho thanko

     
    • Beto

      Beto - 2007-04-10

      When you go send a message first you check the session.. if session off you need doCall... create a new session... so you can use a hashtable to control the session

       
    • Richard Walton

      Richard Walton - 2007-04-25

      Could you expand on that a little please?
      Thanks,

       

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.