<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[About The Same ClientID]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/1">@endel</a> ,<br />
It's said in the document that there will be the same ClientID when I connect to the same device twice. But it's not the same when I open two browser tabs for testing. Is my understanding wrong? Thank you</p>
<p><img src="/assets/uploads/files/1582908331013-qq20200229-004502-2x-resized.png" alt="0_1582908323589_QQ20200229-004502@2x.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://discuss.colyseus.io/topic/325/about-the-same-clientid</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 17:38:40 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/325.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Feb 2020 16:53:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to About The Same ClientID on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/1">@endel</a> ,<br />
It's said in the document that there will be the same ClientID when I connect to the same device twice. But it's not the same when I open two browser tabs for testing. Is my understanding wrong? Thank you</p>
<p><img src="/assets/uploads/files/1582908331013-qq20200229-004502-2x-resized.png" alt="0_1582908323589_QQ20200229-004502@2x.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://discuss.colyseus.io/post/1071</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1071</guid><dc:creator><![CDATA[BlueBang]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to About The Same ClientID on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/610">@BlueBang</a>, thanks for pointing out, this piece of documentation is outdated. I've just removed this paragraph, as it is no longer valid. The only way to ensure you have the same client on multiple sessions is through authentication</p>
]]></description><link>http://discuss.colyseus.io/post/1072</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1072</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to About The Same ClientID on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/1">@endel</a> thank you for report,<br />
How to understand 'the sample client on multiple sessions', for example</p>
<pre><code class="language-javaScript">//client
let ws= new Colyseus.Client(&quot;ws://localhost:2567&quot;)
ws.joinOrCreate(&quot;room&quot;);
ws.joinOrCreate(&quot;room&quot;);

//server
onAuth(client){
console.log(client.id) //the clientId will be same,right?
}
</code></pre>
<p>Thanks a million.</p>
]]></description><link>http://discuss.colyseus.io/post/1073</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1073</guid><dc:creator><![CDATA[BlueBang]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to About The Same ClientID on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/610">@BlueBang</a>,</p>
<p>The easiest way to have authentication is by installing MongoDB and using <code>colyseus/social</code>.</p>
<ul>
<li><code>colyseus/social</code> client-side API: <a href="https://docs.colyseus.io/authentication/#client-side-api" rel="nofollow">https://docs.colyseus.io/authentication/#client-side-api</a></li>
<li><code>colyseus/social</code> server-side API: <a href="https://docs.colyseus.io/authentication/#server-side-api" rel="nofollow">https://docs.colyseus.io/authentication/#server-side-api</a></li>
</ul>
<p>Hope this helps! Cheers!</p>
]]></description><link>http://discuss.colyseus.io/post/1074</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1074</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>