Prev | Current Page 521 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"

If the
referrer does not contain this substring, the SID will be invalidated. Its prototype
follows:
session.referer_check = string
Setting Caching Directions for Session-Enabled Pages
When working with sessions, you may want to exert greater control over how sessionenabled
pages are cached by the user??™s browser and by any proxies residing between
the server and user. The session.cache_limiter directive modifies these pages??™ cacherelated
headers, providing instructions regarding caching preference. Its prototype
follows:
session.cache_limiter = string
Five values are available:
none: This setting disables the transmission of any cache control headers along
with the session-enabled pages.
nocache: This is the default setting. This setting ensures that every request is first
sent to the originating server before a potentially cached version is offered.
private: Designating a cached document as private means that the document will
be made available only to the originating user. It will not be shared with other users.
private_no_expire: This is a variation of the private designation, resulting in no
document expiration date being sent to the browser. This was added as a
workaround for various browsers that became confused by the Expire header
sent along when this directive is set to private.
public: This setting deems all documents as cacheable, even if the original document
request requires authentication.


Pages:
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533