Forum QuickConnect Timeout?

Discussion and help relating to PlayerIO's QuickConnect feature, including Facebook Connect and Kongregate Connect.

Timeout?

Postby sebas77 » July 26th, 2013, 12:18 pm

Hi,

what is playerIO server behavior when the user loose the connection? Let's say I have logged in successfully and then I pull out the network cable, am I still logged in? Will I stay logged in for ever or there is a timeout?

Now, it seems a little bit weird for me that the client would stay valid for ever, but I do not find any way to check the validity of a client connection!

My guesses are:

the client object retains all the login information and try to login automatically on the next operation
the next operation return an error
sebas77
Paid Member
 
Posts: 137
Joined: June 25th, 2013, 12:09 pm

Re: Timeout?

Postby Henrik » July 26th, 2013, 6:42 pm

Calling Connect or QuickConnect results in a Client object, but not an active network connection, so pulling the network cable does nothing.

Joining a multiplayer room results in an active connection though, and if you pull the cable there, the user will be disconnected when the connection times out.
Henrik
.IO
 
Posts: 1832
Joined: January 4th, 2010, 1:53 pm


Return to QuickConnect



cron