Topic-icon Login each time I open the browser

Active Subscriptions:

None
7 years 1 month ago #61240 by dettodo
Hello,
I am having an issue with the login but i am not sure where to change the settings, not sure if it is SClogin or FBconnect.
Every time my users connect with Facebook, the session only last until the browser is closed. I know there is an option to automatically login facebook users but i would like it to stay logged in as if it were a normal joomla login. I think it has to be with the "remember me" ...
Some articles are set up for the user to click on FB button to connect and redirect to the full article, in those SClogin i choose the option hide checked remember me but it still does not work.
Another log in page is here www.kyusho.asia/component/users/?view=lo...L3NpZ25pbi1wcm9maWxl
it is a link to the user profile, but as the user is not log in i can see the login page. I do not know where to modify this, is that a module?

Thanks a lot
The topic has been locked.
Support Specialist
7 years 1 month ago #61255 by alzander
When you close your browser and re-open it, can you try going to Facebook.com and see if you are logged in there already? If you aren't already logged into Facebook then you won't be able to automatically log you into your site with those credentials.

Generally though, what you describe is normal. When you quit the browser, all cookies and session data is removed. That means you have to re-authenticate to each site. The 'Automatically log Facebook users' in" option is only valid if you are already logged into Facebook.

I hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 1 month ago #61327 by dettodo
Thanks for your reply. Yes, my Facebook account is always logged it.
What i mean is... if I log into my site with username and password, it keeps the sessions for days. Even i turn off my computer and it will be logged in next time i open the site with the same computer. Instead, when i loggin with the loggin with FB button, it just last until i close the browser. Then next time i open my site it ask to login again.
Is that normal or any settings are not correct?
The topic has been locked.
Support Specialist
7 years 1 month ago #61338 by alzander
That's normal. When you use the "Remember Me" option and a normal Joomla login, a cookie is created which can last through a browser closing.

Facebook however is much more strict about the cookies they generate and they will *not* last through a browser closing. The main reason for this is because many users will go to public places (libraries, internet cafes, etc) and Facebook doesn't want users to stay logged in under such scenarios.

There's no way to get around this in JFBConnect. However, if the user logs into Facebook first after re-opening the browser, they should be automatically logged into your site when they revisit as well.

Additionally, if the user logs out of Facebook and then visits your site, they won't be automatically logged into your site. It just makes sense... if the user isn't logged into Facebook, we can't log them into your site.

I hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 1 month ago #61345 by dettodo
I understand. Thank you!
Yes if i allow the site to auto-login the user with FB, that will refresh the page and it is a bit troublesome.

Got it now. Thanks!
The topic has been locked.