Topic-icon Login Progress

Active Subscriptions:

None
13 years 4 months ago #30335 by fb_100000532508192
Hi,

Would simple would it be to show either a progress bar or percentage when a user logs in. The biggest gripe i get from users is the time it takes to login. I think showing this info would benifit the user.

Thanks in advanced
The topic has been locked.
Support Specialist
13 years 4 months ago #30341 by alzander
Replied by alzander on topic Login Progress
Phil,
There's not any status that we could poll to let us know how long the login is going to take. It's a variable depending on the users location (in relation to your server, to Facebook's server) and the communication between your server and Facebook. Additionally, the more profile plugins or other login plugins you have enabled can slow things down.

With all that said, there's just not a 'thing' we can poll to see where the process is at. We do have the "You are now being logged in" popup, which is supposed to be an indicator to users that they are being logged in. I'm unfortunately not sure how better we could make that indication. On most sites, the login process should take less than about 5s. If your wait is excessively beyond that, let us know.

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

None
13 years 4 months ago #30352 by fb_100000532508192
Replied by fb_100000532508192 on topic Login Progress
Hi Alex,

At the Moment the login process is taking 10's on average.

I do show the loggin in with facebook popup. What i was thinking is that since jbconnect must go through a series of steps that each step would be shown as a percentage. Is this possible with your configuration?

Phil
The topic has been locked.
Support Specialist
13 years 4 months ago #30365 by alzander
Replied by alzander on topic Login Progress
Phil,
Right now, after the initial Javascript click, all the communication is server side. We don't have any hooks that we could implement to get status right now, and depending on a lot of factors (mainly how many profile plugins are enabled), the percentage would be different on each site.

One thing we're looking into with the next release (v5.0) is reducing the amount of calls to Facebook on login. We've already removed a few and plan to optimize it even more in the 5.0.1 release by caching the results of some requests to prevent needing to re-call them in other spots.

For now, I'd recommend trying to disable any JFBC Profile plugins you have enabled and try again. See if that speeds things up at all, and if so, let us know what plugins are enabled and we can investigate why those might be slowing things down so much.

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

None
13 years 4 months ago #30377 by fb_100000532508192
Replied by fb_100000532508192 on topic Login Progress
Hi Alex,

thanks for oyur response. the site is in dev so i will tinker to get it down. On the point of progress bar, the time it take will always be a major factor and as fb add more content etc the time will vary. But i'm thinking more along the lines that jfbconnect must go through a series of steps. if each step represented a percentage then it would at lease give an idea that things are happening behind the scene and progress is being made.

I would look at the code myself if you point me in the right direction?

thanks
The topic has been locked.