Topic-icon Keep refreshing on Registration Page

Active Subscriptions:

None
11 years 9 months ago #25055 by Morpheus
Hi Alex,
I don't know what to say...its exactly the same as before...
:(

1. open Facebook and login
2. open my web site and manually login
3. close browser
4. open browser with my web site - NOT logged-in

maybe its a cache thing ??? am I missing something?
did you check this exact scenario?

Later on today I will check with more PCs and more browsers and let you know. Currently I'm using FF

Thanks for your hard work, I know its a tough bug
The topic has been locked.
Support Specialist
11 years 9 months ago #25056 by alzander
The session length is a configurable value in Joomla's Global Configuration area.

As for the scenario you propose, it may not work in that one. The cookie is set for the session length (which is usually about 15 minutes by default in Joomla). If you are a) logging into your site with JFBConnect or b) logging out of your site, the cookie will be set to prevent auto-logins for the session duration.

What I'd recommend is logged into Facebook and not your site. Then, close your browser and wait 15 or so minutes. Then, open the browser and go directly to your website. See if that logs you in.

If not, let us know. We did a lot of tests with this configuration and we are still using the authResponseChange function which you've said works before. However, to prevent the auto-logging in after logging out or other issues (from other users above) we have to have some time period or other mechanism to prevent the auto-login from happening immediately when the user isn't logged in anymore.

Hope that explains,
Alex
The topic has been locked.
Support Specialist
11 years 9 months ago #25057 by alzander
To sum up, this workaround may fail in a few cases. However, think through whether they are realistic cases or more 'testing' cases. We don't like it when things don't work all the time, but it happens and we have to make concessions here and there to get around issues with Facebook. There's plenty others.. but we won't tell you where to look :D

The current issue with Facebook is that the authResponseChange event is only supposed to occur when the session state changes (JFBConnect is notified that the user is logged into Facebook). Unfortunately, the current bug is that the event is actually triggering on every page load on some (and spreading) sites.

Alex
The topic has been locked.
Active Subscriptions:

None
11 years 9 months ago #25059 by Morpheus
Hi Alex,
I now understand and it is reasonable solution!
I checked and it works!
Looking forward for the new release so I will be able to actually use it on my operational web site.
Thanks for your support
The topic has been locked.
Support Specialist
11 years 9 months ago #25068 by alzander
Thank goodness! That was a tricky issue, and you were the only one who's noted the "Keep me logged in" ability of the way we had it in 4.2.3. That kept us from reverting it back to the previous way. Thanks for your persistence, and glad to hear we got something good going (so far). We actually like the solution for a few other benefits too!

Anyways, hoping to get the release out tonight. Ran into some minor issues with automated testing, but nothing crazy. Tomorrow at the latest!

Alex
The topic has been locked.
Support Specialist
11 years 9 months ago #25082 by alzander
Just wanted to let you know that the new version of JFBConnect (v4.2.4) was just posted. This should fix the redirect loop problems with the fix mentioned above.

There's a bunch of other fixes, but I also wanted to point out an update for the Login / Register page, which is shown if JFBConnect is set for "Normal" registration. There's a new option for how to display that form either horizontally (the current way), vertically (with the login area on top of the registration area), or even a way to disable the login form altogether.

It should make things look a little better overall, and just wanted to point it out!

Thanks for your patience and all of your feedback. And please let us know how the update goes for you!
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 9 months ago #25156 by Morpheus
4.2.4 solve the issue completely!
thanks for you support!
The topic has been locked.
Support Specialist
11 years 9 months ago #25161 by alzander
Very glad to hear that's working for you!

Thanks again for your feedback and patience,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 8 months ago #26154 by alefel
Hi,

Mine is still presenting this issue: www.aquipalmeiras.com
I updated the component:
JFBConnect Administrator Component 4.2.4 2012/07/23 SourceCoast | www.sourcecoast.com N/A 10012

Any idea?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 8 months ago #26155 by alefel
Update: I manually changed the code suggested in this thread on the jfbcsystem.php and it's now not refreshing anymore. Maybe the update to 4.2.4 didn't take effect because I had already done one change to that file manually?

Anyway, it's not refreshing but it keeps saying that the user is a visitor after the login. Isn't it possible to update and show the user's info and picture (like it happens after I client another link)?

Thanks,
Alex
The topic has been locked.