Jump to content

redstorm

Approved members
  • Content Count

    5
  • Joined

  • Last visited

  1. I had two servers one dev and prod, the prod one had the issue of not switching accounts without a refresh. The difference between them was prod had the mod_expires apache module enabled and was causing the browser client to cache the pages instead of refreshing them on user switch. To get around this i have created an .htaccess file in the revive directory with "ExpiresActive Off" Add to your virtual host config <Directory var/www/adserver> Options Indexes FollowSymLinks MultiViews AllowOverride Indexes Order allow,deny allow from all </Directory> restart apache and test.
  2. My suspicion was correct im my case mod_expires was causing the client to cache the pages instead of refreshing them on user switch. To get around this i have created an .htaccess file in the revive directory with "ExpiresActive Off" Add to your virtual host config <Directory var/www/adserver> Options Indexes FollowSymLinks MultiViews AllowOverride Indexes Order allow,deny allow from all </Directory> restart apache and test.
  3. I have a Prod and a Dev server, my dev server switching works fine between default and admin in revive, on my prod server this requires a page refresh like the OP to force the user account change. The difference between the two servers is mod_expires (apache module) is configured on the production server to help with client caching, i think this is the primary candidate to start looking at to see if its interfering with the revive pages. I'll be updating my sight in the next few days so will comment out the suspected mod and see if revive behaves properly. The other difference between the servers is prod is running mod_deflate to compress content on the fly.
  4. The main theme for wanting async loading of ad's is to increase page load speed, and not have the ad's block the loading of the main content. With google now rating the site on speed + content now slow page loads will kill google page rateings. Ive worked around my issue for now with using the iframe code and using jquery.load to call the ad iframe.
  5. digitaladapt could you post the example code of how you are calling this code. Thanks ReferenceError: data is not defined parent.appendChild(el); writeCapture2.js (line 260)
×
×
  • Create New...