Jump to content
McKay Development

setCookies not working and webSession getting emitted each 2-3 seconds


Recommended Posts

I'm having a problem where i can't set cookies for steam-tradeoffer-manager and steam-community and when i try to do so it seems that code execution just stops and doesn't go beyond that point. No error whatsoever. Also webSession is getting emitted each 2-3 seconds.


client.on('webSession', (sessionid, cookies) => {
    console.log("webSession called");
    manager.setCookies(cookies, (err) => {
    console.log("Trade offer manager cookies set");
    community.setCookies(cookies, (err) => {
    console.log("Steamcommunity cookies set");

Only logs 'webSession called' but never 'Trade offer manager cookies set' or 'Steamcommunity cookies set'.

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.

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.

  • Create New...