Multiple instances with the same session? #1392
Replies: 3 comments 4 replies
-
You don't have to use different sessions with the same phone number, you can just reuse the same session, what error were you getting? |
Beta Was this translation helpful? Give feedback.
-
I discovered the error, actually everything works fine. |
Beta Was this translation helpful? Give feedback.
-
Correction, it only went the first time like yesterday. After I start running it it's like it hangs and now it doesn't fetch anything anymore. The errors I see are: etc... If instead I use only the session from a site everything works correctly.. If I print with this session $this->MadelineProto->getSelf(); I seem to see everything correctly. Any Idea? |
Beta Was this translation helpful? Give feedback.
-
HI,
I need from several different sites (but installed on the same server) to go and use MadelineProto.
I tried binding them to the same session but that doesn't work.
It is probable that multiple simultaneous calls are made to MadelineProto from multiple different scripts, which is why I don't think it works.
How can I handle this thing? Can I have many different and distinct sessions (6/7 sessions) with the same phone number?
Beta Was this translation helpful? Give feedback.
All reactions