Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
in Q2A Core by
reshown 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

+2 votes
selected 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..

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