Jump to content
McKay Development

Recommended Posts

Posted

Im connected with steam. I want to log off, and then log in. How Can I do it? I've tried doing Client.logOff(), Client.logOn(details); but it returns that im already logged.

 

Thanks in advance

Posted

Why do you want to reconnect? I don't see any reason you'd want to do this. If you need to renew your web session, just use webLogOn.

 

That said, you can reconnect. To do that, you need to wait for the disconnected event to fire before you try to log on again.

Posted

I don't really now to be honest. I've just thought that it will be good feature when something went wrong. Should I declare global variable with a Boolean value, set it as true in reconnect function, and read whether it is true on disconnect event and then log?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...