browser back button/caching and php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael G

    browser back button/caching and php

    Can the browser back button or browser caching be turned on or off via php?

    Thanks, Mike



    ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
    ----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  • John Dunlop

    #2
    Re: browser back button/caching and php

    Michael G wrote:
    [color=blue]
    > Can the browser back button or browser caching be turned on or off via php?[/color]

    Well, you can send caching directives, through PHP if you
    like, asking for the response to be kept out of caches, yes;
    but that's not the same as turning browser caching off.

    As to 'Back' buttons, or history lists, here's HTTP/1.1's
    position (emphasis theirs):

    | By default, an expiration time does not apply to history
    | mechanisms. If the entity is still in storage, a history
    | mechanism SHOULD display it even if the entity has expired,
    | unless the user has specifically configured the agent to
    | refresh expired history documents.



    And as to what happens with 'Back' buttons in practice, YMMV.

    --
    Jock

    Comment

    • Jasen Betts

      #3
      Re: browser back button/caching and php

      In article <1123782981_797 9@spool6-east.superfeed. net>, Michael G wrote:[color=blue]
      > Can the browser back button or browser caching be turned on or off via php?[/color]

      If you can get the PHP to run on the same machine as the browser it may be
      possible to manipulate the config file :)


      Manipulating the browser needs to be done using a language that the browser
      can see like html or javascript.

      Bye.
      Jasen

      Comment

      Working...