Jump to content

PHP equivalent of ASP scrollbar location


Jabop

Recommended Posts

<?php
header('Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0');
header('Pragma:');
header('Expires: '.gmdate('D, d M Y H:i:s', time()+(2*60*60)).' GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
?>

 

Found a snippet. This works, not sure how though. I will do some testing.

<?php
header('Cache-Control: no-cache, must-revalidate, post-check=0, pre-check=0');
header('Pragma:');
header('Expires: '.gmdate('D, d M Y H:i:s', time()+(2*60*60)).' GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
?>

 

Found a snippet. This works, not sure how though. I will do some testing.

 

That stops the page from caching, nothing to do with scroll location.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.