Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
reshown ago by
Though we have a remember me checkbox to save the login cookie of user when he/she signs in, nowadays no one uses them due to modern browser technology and security reasons.

So, how can I make my q2a site automatically save a login cookie when a user signs in without having the need to check the "remember me" checkbox.
Q2A version: 1.8.5

1 Answer

+1 vote
selected ago by
Best answer

I think changing this line with following code will be enough for this..

$inremember = 1;

Sorry, I couldn't test it myself..But if it doesn't work, let me know..

ago by
Thanks for your help, it worked.
But, how do I remove the checkbox from the form?
ago by
Thanks Fazleysabbir. Found it useful