Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Caching on admin section  (Read 1755 times)

0 Members and 1 Guest are viewing this topic.

joshmarshall

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Caching on admin section
« on: August 21, 2009, 05:47:13 am »

Hi,

The web host I use has standard expires headers for requests, but this isn't overridden by the admin.php file. So at home where I use the squid caching proxy I log into the admin panel on one computer, then browse to it from another machine connected to the proxy and I can get to the admin panel. Also any changes I make within the admin settings go back to what they were unless I do a hard refresh.

My solution was to edit the admin.php file to add:

header('Cache-Control: no-cache');

to the top.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.