Jump to content
McKay Development

node-steamcommunity cookies renewal


ruciu

Recommended Posts

Hi,

 

1. Is it possible to renew session using node-steamcommunity in a fashion similar to node-steam-user.webLogOn() method? 

2. Do I have to check if my session have expired every now and then or maybe there is event emited in such a situation?

 

Thanks in advance, help will be much appreciated 

Link to comment
Share on other sites

1. Calling login() again with your username and password is guaranteed to renew your session (unless Steam is having problems). The oAuthLogin method is supposed to do this, but I believe it doesn't work 100% as expected.

2. There isn't any event. Currently you just have to check loggedIn every so often. The next update will most likely add such an event.

Link to comment
Share on other sites

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...