Jump to content
McKay Development

Cookies die every time ASF do RefreshSession()


Akaz

Recommended Posts

Hey,

I'm running ASF, mostly to idle cards, while I'm also using the steam-user package and every time ASF refresh it's session, it kills the one I created with steam-user

== ASF LOGS ==
RefreshSession() Refreshing our session!
Init() Logging in to ISteamUserAuth...
Init() Success!

 

ASF and my bot are running under different IP, I tried a bunch of things including setting logonID but without success, I can't prevent my session from dying.

Any idea on how to solve this?

Thanks!

Link to comment
Share on other sites

2 hours ago, Dr. McKay said:

That's pretty much expected. It's not 100% clear what causes Steam to invalidate cookies, but initing a session is known to invalidate old ones.

Thank you for your answer

So there is no way to run ASF and steam-user on the same account at the same time without having to recreate a new session every 15 minutes? 

I was previously using node-steamcommunity because all I need is to get a session and cookies to request Steam endpoints and I had no problem, but then I had to move to steam-user because I need to get my wallet balance.

Alternative question then, is there a way to get an account wallet balance without using steam-user?

Thanks again!

Edited by Akaz
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...