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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
Could you expand on that a little please?
Thanks,