@mattdjuk This could be something (clutching at straws a bit here)...
I was just looking in the cookies, I see these:
Screenshot 2022-05-26 113221.png
It has 2 express.sid cookies
1 is for forum.$$$$$$$.co.uk and the other is for .$$$$$$$.co.uk
suddenly not able to login to node bb forum hosted on cloud 9 when doing from mobile. error " unable to login because expired session"
"Suddenly" is suspicious... I'm sure something happened to cause this
NodeBB upgrade? New plugin? Config change, etc?
am able to login/register on some systems but not on other. like on two of my laptops am able to register/login but on none of mobile systems and one of my laptops am to login/register. error message" we are unable to log you in likely due to expired session"
in url " error =csrf-invalid"
Do you have javascript disabled by any chance on those systems?
when am using https in url it is opening but when using http it is not?
You'll want to have a reverse proxy like nginx sending requests to http url to https.
server {
listen 80;
server_name whatever;
return 302 https://yoururl;
}
that is i hv to route insecure http to https.
i am sort of novice. just started the implementation of node on cloud9. so it wud be so nice of u to tell me where to write this section of code.