Date: 09/01/00
- Next message: Mark Heintz PHP Mailing Lists: "[phplib] session, pass by reference and php 4.0.2"
- Previous message: zoltan.sebestyen <email protected>: "[phplib] Newbie problems"
- In reply to: Bernd Neumayr: "Re: [phplib] No persistent session vars."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks to Bernd's solution:
> i had to set var $allowcache = "no";
Reason:
Browser vendors may interpret and follow W3C guidelines for caching
differently. A browsercap check may be needed to fine-tune HTTP header
response.
Some references:
"allowcache - Control caching of session pages"
http://phplib.netuse.de/documentation/documentation-3.html#ss3.8
"PHP scripts often generate dynamic HTML that must not be cached by the
client browser":
http://www.php.net/manual/function.header.php
"43. How do I stop the browser from caching my page? "
http://www.caucho.com/products/resin/ref/faq.xtp
"Caching Tutorial for Web Authors and Webmasters - Implementation Notes -
Server-Side Scripting - PHP 3"
http://www.mnot.net/cache_docs/#IMP-SCRIPT
-----Original Message-----
From: Bernd Neumayr [mailto:bernd <email protected>]
Sent: Friday, September 01, 2000 12:13 AM
To: Jim Steel; phplib <email protected>
Subject: Re: [phplib] No persistent session vars.
i had to set
var $allowcache = "no";
in my sessionclass in local.inc, although this should be default.
bernd
>Does anyone remember why session variables don't get saved/restored, that
>is, the "Per Session Data" in the "index.php3" sample doesn't increment?
>
>We have no other errors, and everything else seems to work fine.
>
>I had this problem before and can't remember the solution.
>
>Cookies are all enabled. Tried another browser on another machine too.
>
>Here's the data parameters in the PHP .ini file
>;;;;;;;;;;;;;;;;;
>; Data Handling ;
>;;;;;;;;;;;;;;;;;
>magic_quotes_gpc = On
>magic_quotes_runtime= Off
>magic_quotes_sybase = Off
>track_vars = On
>auto_prepend_file = prepend.php3
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Mark Heintz PHP Mailing Lists: "[phplib] session, pass by reference and php 4.0.2"
- Previous message: zoltan.sebestyen <email protected>: "[phplib] Newbie problems"
- In reply to: Bernd Neumayr: "Re: [phplib] No persistent session vars."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

