• Resolved Mozej

    (@mozej)


    Hi.
    After facebook authorization user is redirect to homepage. The account is created but website still looks like for non logged in user. After refresh page (F5) appear user bar. Any solution?
    I thank you in advance for your help.
    Peter

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ramona

    (@nextend_ramona)

    Hi Peter ( @mozej )

    Your problem seems to come from the cache-control response header set by either your server or a 3rd party plugin which makes the browser store the page content in its own cache and keep displaying it regardless of your login state. (This is why refreshing the browser’s cache solves the problem.)

    If you are using a header control plugin, I suggest checking out its settings. If you don’t have such plugin contact your host about the cache-control headers they send.

    Thread Starter Mozej

    (@mozej)

    Ramona, thank you!
    I think that I need sleep much more 🙂
    That line of code in htaccess was responsible for problem:

    # BEGIN Cache-Control Headers

    <filesMatch “\.(x?html?|php)$”>
    Header set Cache-Control “private, must-revalidate”
    </filesMatch>

    # END Cache-Control Headers

    Ramona

    (@nextend_ramona)

    Hi Peter ( @mozej )

    Great, I’m glad you were able to solve the problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirect after FB authorization’ is closed to new replies.