Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
730 views
in Q2A Core by
I found sessioncode in the database users table, how is it used? since I want to make another login for my users.

1 Answer

+1 vote
by
The session code is used in the qa_session cookie. The main use is to keep you logged in until the browser window is closed (or for longer if "remember me" was checked).

But I'm not sure if that's relevant for your case. What exactly do you mean by "make another login for my users"?
by
Since I am integrating q2a to my website I already had a login made and since I am taking the function custom_nav_user_search() from the Theme in which I am working and instead I will replace it with my own login/signup buttons , avatar, notifications bell etc. in the right top of the header so it keeps consistent with the website design I am trying to create the sessions variables or whatever it be needed to keep both websites tables integrated.

I don't know if I got myself explained, maybe I am wrong with what I am doing but it is something occurred to me since I'll be adding field to qa users table and will implement my own face, twitter and google+ loggin.
by
You probably want to look at the Single Sign On feature - http://docs.question2answer.org/install/single-sign-on/
You should be able to use that with your custom login you've already made.
by
Thanks, as always,we could save ourselves from a lot of trouble and learn new things if we read the documentation. Thanks again Scott :)
...