Date: 11/02/00
- Next message: Peter Bowyer: "Re: [phplib] Template vs FastTemplate"
- Previous message: Steven Reed: "RE: [phplib] Caching of sites"
- In reply to: Steven Reed: "RE: [phplib] Caching of sites"
- Next in thread: Ignatius Teo: "RE: [phplib] Caching of sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
thanks. Wouldn't this run counter-purpose to steffen's issue of having to "reload" a
page that was originated from a form, like search results?
is there a way to satisfy both of our requirements?
On a perhaps related note, I'm using phplibs session, auth, and user classes with
PHP3. I'm having the problem of the site occasionally asking for my login and
password again. Sometimes it happens when I've been away (but no logged out) for a
while, but sometimes it happens during the course of normal use. Like I might hit
"submit" and then get the login screen.
Has anyone else had this experience? thanks.
Don Undeen
dundee <email protected>
Steven Reed wrote:
> I had this problem in PHPlib and fixed it with the by changing the following
> settings in session.inc
>
> var $allowcache = "private"; ## Set this to 'private' to allow private
> ## caching; set this to 'public' to
> allow
> ## public caching; set this to 'no'
> to
> ## never cache the page.
> var $allowcache_expire = 1; ##1440; ## If you allowcache, data
> expires in this
> ## many minutes.
>
> To :
>
> var $allowcache = "no"; ## Set this to 'private' to allow private
> ## caching; set this to 'public' to
> allow
> ## public caching; set this to 'no'
> to
> ## never cache the page.
> var $allowcache_expire = 0; ##1440; ## If you allowcache, data
> expires in this
> ## many minutes.
>
> Pretty straight forward once I found the right setting to change.
>
> Steven Reed
> Web Developer
> Domino
> The Digital Agency
> www.domino.com
> Steven <email protected>
>
> > -----Original Message-----
> > From: Don Undeen [mailto:dundee <email protected>]
> > Sent: Thursday, November 02, 2000 4:57 PM
> > To: Steffen Petter
> > Cc: phplib <email protected>
> > Subject: Re: [phplib] Caching of sites
> >
> >
> > hi Steffen,
> > I'm not answering your question, but posting a "yeah, what's
> > up with that?"
> > On a related note, IE and Netscape handle caching differently, so
> > you have to be careful.
> > Sometimes I WANT the page to not be cached. For example, if a
> > page draws from the database, and the database entry changes, IE
> > won't display the change in the page without
> > explicitly setting a "Pragma: no-cache" header or META tag on
> > that page. This was very irritating until I tracked teh problem
> > down. But in other cases, I WANT the cached
> > version of the page to be displayed (like with search results, as
> > Steffen wrote).
> > Basically, the behviour I want is for when I go to a php page, I
> > want the php script to run, and the results to be displayed. If
> > I'm clicking "back" I want the my last submit
> > to be submitted again.
> > While I realize in general this could be a security problem, it's
> > not for this site. I've been developing a workaround for this,
> > but if anyone has insight into setting this up
> > in a general way, I'd welcome the info.
> > Don Undeen
> > dundee <email protected>
> > >
>
> ---------------------------------------------------------------------
> 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: Peter Bowyer: "Re: [phplib] Template vs FastTemplate"
- Previous message: Steven Reed: "RE: [phplib] Caching of sites"
- In reply to: Steven Reed: "RE: [phplib] Caching of sites"
- Next in thread: Ignatius Teo: "RE: [phplib] Caching of sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

