Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Headers


Guest

Recommended Posts

I am trying to modify the headers that are sent to the brower, but to no avail can't find them. Everytime I modify where I think they are I get a cannot modify header error.

I know that I have to place the following code before any other header is sent:

 

header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past

 

Any help would be greatly appreciated.

 

Thanks,

 

B.

Link to comment
Share on other sites

I think it's in /catalog/includes/classes/sessions.php

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...