Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
edited by
see function qa_db_cookie_create($ipaddress) and function qa_db_random_bigint()

I wonder why we do not directly store the session id as an identifier?

From my information, a cookie is created on each session by PHP automatically.

1 Answer

0 votes

It is seemingly by design, if i am not mistaken. Php session is seldom r used in q2a. Q2a uses its own simple cache mechanism. I think this kind of  architecture is pretty good.