<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged identify-user</title>
<link>https://www.question2answer.org/qa/tag/identify-user</link>
<description>Powered by Question2Answer</description>
<item>
<title>Why do we store a random bigint for cookie id instead the sessionid?</title>
<link>https://www.question2answer.org/qa/42245/why-do-store-random-bigint-for-cookie-instead-the-sessionid</link>
<description>see function qa_db_cookie_create($ipaddress) and function qa_db_random_bigint()&lt;br /&gt;
&lt;br /&gt;
I wonder why we do not directly store the session id as an identifier?&lt;br /&gt;
&lt;br /&gt;
From my information, a cookie is created on each session by PHP automatically.&lt;br /&gt;
&lt;br /&gt;
I think the sessionid would make more sense to identify events by anonymous users.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/42245/why-do-store-random-bigint-for-cookie-instead-the-sessionid</guid>
<pubDate>Mon, 15 Dec 2014 06:47:00 +0000</pubDate>
</item>
</channel>
</rss>