[FX.php List] Persistent (outdated) Data Disply

Jonathan Schwartz jonathan at eschwartz.com
Mon Jul 31 14:49:08 MDT 2006


Steve,

*That's* what I'm talking about!

That whipped Safari right into shape.

Thanks.

Jonathan

At 1:21 PM -0700 7/31/06, Steve Hannah wrote:
>This link goes into detail on how to prevent the page from being cached:
><http://www.sitepoint.com/article/php-anthology-2-5-caching>http://www.sitepoint.com/article/php-anthology-2-5-caching
>
>I noticed that in your "everything but the kitchen sink" example, 
>you show only meta tags.  Try using HTTP headers as suggested in the 
>article at the above link.  e.g.:
>
><?php
>header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
>header('Cache-Control: no-store, no-cache, must-revalidate');
>header('Cache-Control: post-check=0, pre-check=0', FALSE);
>header('Pragma: no-cache');
>?>
>Best regards
>
>Steve
>--
>
>
>----------------------------------------
>Steve Hannah
>Web Services Developer
>
>Faculty of Applied Sciences
>Simon Fraser University
><mailto:shannah at sfu.ca>shannah at sfu.ca
>604-268-7228
>Homepage: <http://www.sjhannah.com>http://www.sjhannah.com
>--
>Need to build a database driven web application quickly?
>Try Dataface: <http://fas.sfu.ca/dataface>http://fas.sfu.ca/dataface
>
>
>
>On 31-Jul-06, at 1:14 PM, Jonathan Schwartz wrote:
>
>>Stephen,
>>
>>Actually I believe that a hard reload in Safari is (Shift + 
>>Reload)...and I've been wearing out that command trying to get 
>>Safari to behave.
>>
>>Truth is that users will probably not see this bad behavior in real 
>>use...or let's hope not.
>>
>>Thanks
>>
>>
>>Jonathan
>>
>>
>>At 3:34 PM -0400 7/31/06, Stephen  Knight wrote:
>>
>>>Hi Jonathan,
>>>
>>>I did a quick search on Google Groups and it seems to be a relatively common
>>>issue. Try a hard refresh (option key + Reload) and see if that updates the
>>>page. Otherwise, do you have the newest version of Safari?
>>>
>>>In Kindness
>>>Stephen K Knight
>>><http://www.fmwebschool.com>http://www.fmwebschool.com
>>>800.353.7950 / 386.453.5843
>>>FMWebschool, we bring the web to life
>>>FX.PHP PHP XML MySQL CDML ASP
>>>
>>>CONFIDENTIALITY NOTICE: This Electronic Mail (e-mail) contains confidential
>>>and privileged information intended only for the use of the individual or
>>>entity to which it is sent. If the reader of this message is not the
>>>intended recipient, or the employee or agent responsible for delivery to the
>>>intended recipient, you are hereby notified that any dissemination,
>>>distribution, or copying of this communication is STRICTLY PROHIBITED. If
>>>you have received this communication in error, please immediately notify the
>>>sender by reply e-mail or telephone.
>>>
>>>-----Original Message-----
>>>From: 
>>><mailto:fx.php_list-bounces at mail.iviking.org>fx.php_list-bounces at mail.iviking.org
>>>[<mailto:fx.php_list-bounces at mail.iviking.org>mailto:fx.php_list-bounces at mail.iviking.org] 
>>>On Behalf Of Jonathan Schwartz
>>>Sent: Monday, July 31, 2006 3:00 PM
>>>To: FX.php Discussion List
>>>Subject: Re: [FX.php List] Persistent (outdated) Data Disply
>>>
>>>Hmmm. How is that done?
>>>
>>>Jonathan
>>>
>>>
>>>
>>>At 1:23 PM -0500 7/31/06, Derrick Fogle wrote:
>>>
>>>>At one point, I ended up always attaching a timestamp generated at page
>>>>load to any URLs or post data; that makes Safari think the page is
>>>>always new since the timestamp is never the same twice, and it really
>>>>refreshes the page.
>>>>
>>>>On Jul 31, 2006, at 1:16 PM, Jonathan Schwartz wrote:
>>>>
>>>>>Not sure if I picked the right subject for this post...
>>>>>
>>>>>I am wrestling with the problem of Safari not reporting the correct
>>>>>recently update current values that exist in FMP.
>>>>>
>>>>>I have a form which updates a handful of data fields.  The update to
>>>>>FMP is successful (I verify the update in native FMP). However, if I
>>>>>re-display the form with data populated from FMP, the form shows the
>>>>>original values for some time instead of the new values.
>>>>>After perhaps a minute, Safari will display the updated value, after
>>>>>repeated reloads.  It drove me crazy during development until I
>>>>>realized that it was only Safari that was being stubborn.  The problem
>>>>>doesn't occur in FireFox.
>>>>>
>>>>>I have thrown everthing bu the kitchen sinnk into the header of the
>>>>>"lazy" page, inlcuding:
>>>>><META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META
>>>>>HTTP-EQUIV="EXPIRES"  CONTENT="Mon, 22 Jul 2002 11:12:01 GMT"> <META
>>>>>HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
>>>>>
>>>>>None of this seems to help.
>>>>>
>>>>>Any suggestions?
>>>>>
>>>>>Thanks
>>>>>
>>>>>Jonathan
>>>>>--
>>>>>
>>>>>Jonathan Schwartz
>>>>>Schwartz & Company
>>>>><mailto:jonathan at eschwartz.com>jonathan at eschwartz.com
>>>>><http://www.eschwartz.com>http://www.eschwartz.com
>>>>>
>>>>>_______________________________________________
>>>>>FX.php_List mailing list
>>>>><mailto:FX.php_List at mail.iviking.org>FX.php_List at mail.iviking.org
>>>>><http://www.iviking.org/mailman/listinfo/fx.php_list>http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>>
>>>>
>>>>
>>>>Derrick Fogle
>>>><mailto:derrick at fogles.net>derrick at fogles.net
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>FX.php_List mailing list
>>>><mailto:FX.php_List at mail.iviking.org>FX.php_List at mail.iviking.org
>>>><http://www.iviking.org/mailman/listinfo/fx.php_list>http://www.iviking.org/mailman/listinfo/fx.php_list
>>>>
>>>
>>>
>>>--
>>>
>>>Jonathan Schwartz
>>>Schwartz & Company
>>><mailto:jonathan at eschwartz.com>jonathan at eschwartz.com
>>><http://www.eschwartz.com>http://www.eschwartz.com
>>>
>>>_______________________________________________
>>>FX.php_List mailing list
>>><mailto:FX.php_List at mail.iviking.org>FX.php_List at mail.iviking.org
>>><http://www.iviking.org/mailman/listinfo/fx.php_list>http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>>>
>>>
>>>_______________________________________________
>>>FX.php_List mailing list
>>><mailto:FX.php_List at mail.iviking.org>FX.php_List at mail.iviking.org
>>><http://www.iviking.org/mailman/listinfo/fx.php_list>http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>>
>>
>>--
>>
>>Jonathan Schwartz
>>Schwartz & Company
>><mailto:jonathan at eschwartz.com>jonathan at eschwartz.com
>><http://www.eschwartz.com>http://www.eschwartz.com
>>
>>_______________________________________________
>>FX.php_List mailing list
>><mailto:FX.php_List at mail.iviking.org>FX.php_List at mail.iviking.org
>><http://www.iviking.org/mailman/listinfo/fx.php_list>http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 

Jonathan Schwartz
Schwartz & Company
jonathan at eschwartz.com
http://www.eschwartz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060731/5f1eb3c7/attachment.html


More information about the FX.php_List mailing list