Skip Navigation

[Resolved] Logged in users seing logged out pages

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 4.15 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 7 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#576447

If a user browses the site in a logged out state and then logs in, they will see logged out versions of pages. This can be resolved on a page by page basis by refreshing.

I have turned off all caching from the server and removed all caching plugins and yet this persists.

I have been following a process of elimination and have discounted everything but toolset.

Can you assist me please?

I have provided access details.

Steps to reproduce:
1. Whilst logged out click on Calendar, then Shop, then Staffroom in the header
2. Click Login in the header
3. Click Calendar (You will see a logged out version of the page)
4. Refresh (You will see the logged in version of the page)

#576498

[EDIT] Step 2 wasn't clear. Please see below.

Steps to reproduce:
1. Whilst logged out click on Calendar, then Shop, then Staffroom in the header
2. Login to the site
3. Click Calendar (You will see a logged out version of the page)
4. Refresh (You will see the logged in version of the page)

#576565

I have discovered that adding the following to my wp-config.php file solves the issue.

define('WP_CACHE', false);

However, this site is going to need caching, so that is not ideal.

#576575

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Peter,

Thank you for contacting our support forum.

It seems the caching is quite aggressive however, you can use the WP super cache plugin and see if that helps with the issue.

Thanks,
Shane