I have a sidebar block set up to refresh every 15 seconds. It is pulling in random quotes from the Quotes module.

Unfortunately, for anonymous users, the block refreshes correctly but pulls in the content only once. As an admin, the block refreshes perfectly, but all of my users will be anonymous. This is a cross-browser issue. Any ideas why the refresh works, but the content pulls only once?

Thanks.

Comments

rkodrupal’s picture

I don't know about the cross-browser comment above, but I have the same issue. I thought it might be a cache issue as discussed here (http://drupal.org/node/690898) ... but the fix at the 690898 URL didn't fix the problem with Block Refresh.

Block Refresh works fine except for anonymous users. I only use the manual refresh option and for anonymous users refresh always goes back to the same target and then goes no more.

I'm on Drupal 6.22 ... and I tried Block Refresh 6x.1.0 and 6x.1.x-dev. Same problem on both.

K

Mujtaba Mir’s picture

hi,
i was facing the same problem but soon caught my own mistake.
just go to the admin page "admin/people/permissions" and check all the options for Block refresh module. i.e. for anonymous, authenticated and admin as well.

rkodrupal’s picture

thanks for the reply MM but your suggestion did not fix the issue for me (v. 6.x-1.x-dev)
K

cjgriffin’s picture

Title: Refresh for anonymous users shows new content only once » Refresh for anonymous users shows new content only once due to page cache
Version: 7.x-1.2 » 7.x-2.x-dev
Category: support » bug

I'm having the same issue with 7.x-2.x. Content is refreshed only once for anonymous users (including manual refreshes). I found that it's due to caching pages for anonymous users. Turn off the page cache and it works correctly. Still looking for a solution.

rimu’s picture

cjgriffin’s picture

Thanks rimu. I was still having issues even with Cache Exclude (not sure why). Because it was a Views block I was attempting to refresh, I ended up going with Views Auto-refresh instead which is working for me with caching enabled.

tripper54’s picture

Title: Refresh for anonymous users shows new content only once due to page cache » Add option to bypass drupal's page cache
Assigned: Unassigned » tripper54
Category: Bug report » Feature request
Issue summary: View changes

This is a legitimate problem. It should be pretty easy to add an option in the block settings to bypass the page cache for the block callback.

tripper54’s picture

Status: Active » Closed (duplicate)
Related issues: +#2083013: Add option to bypass caching

As such, it's a duplicate of #2083013: Add option to bypass caching