At 11:30 AM 1/22/01 -0800, you wrote:

>>You're missing a double quote at the gmdate phrase. Use 
>>   header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT");
>
>Oops, right. That took care of the error but now the variables aren't
>passed to the
>next page. What's the sequence?   Session_start/session_register/headers or 
>Session_start/headers/session_register? There are no registries on the output
>page but it's blank when I use the headers before/between/after the session
>info.
>
>The initial problem was one of Netscape giving me a "Data Missing" error
>when I
>tried to print the output page. Now I get an output page empty of data.
>This is single-
>use data but I need it for the duration of the session. Everything worked
>fine (without
>the cache header callouts) in MSIE5 but didn't in NN4.7

To reply to my own post, I found that Netscape doesn't update all of its
display
cache even when I physically reset both memory and file caches via Prefs.
A reload of Netscape cleared up the non-showing of data on the output page
with the sequence Session_start/headers/session_register.

What is not happening is data tracking when using the browser back button.
Should I be caching the pages for, say, half an hour vs no caching?

header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
$expires = time() + 1800;
header("Expires: " . gmdate("D, d M Y H:i:s", $expires) . " GMT");
header("Cache-Control: max-age=1800");

This seems to work, but is there a cleaner way?  Also, I can't find info on 
conversion to my time, PST in the USA, but that shouldn't matter since I'm 
not referring to it anywhere in the scripts.

Thanks for your help so far, Richard, Eugene, list, and any others I missed.

- 
Larry Jaques, President  1.760.941.8868
DIVERSIFY! Communications  Vista, CA  USA
1991 - Celebrating Our 10th Year in Business - 2001
Comprehensive Website Development  http://diversify.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to