[TYPO3] [TYPO3-dev] strange behaviour requesting pages
Robert John de Stigter
robertjohn at bedrijvenweb.nl
Wed Apr 26 09:22:49 CEST 2006
I've posted this in the dev-list but I think it more a core issue.
My question is why does typo3 execute a script three times when the url
is new to typo3? Is this RealURL's doing? Or the caching system? This is
a problem because if you make database changes using GET variables the
changes or inserts are done three times.
> -----Oorspronkelijk bericht-----
> Van: typo3-dev-bounces at lists.netfielders.de
> [mailto:typo3-dev-bounces at lists.netfielders.de] Namens Robert
> John de Stigter
> Verzonden: dinsdag 25 april 2006 9:21
> Aan: List for Core-/Extension development
> Onderwerp: Re: [TYPO3-dev] strange behaviour requesting pages
> I am very sure know it has to do with the differences in the
> url. I now request the page using a post instead of a get. So
> the the url of the page is always the same. Is this not a bug
> in TYPO3?
> > -----Oorspronkelijk bericht-----
> > Van: typo3-dev-bounces at lists.netfielders.de
> > [mailto:typo3-dev-bounces at lists.netfielders.de] Namens
> Robert John de
> > Stigter
> > Verzonden: maandag 24 april 2006 10:43
> > Aan: typo3-dev at lists.netfielders.de
> > Onderwerp: [TYPO3-dev] strange behaviour requesting pages
> > Hi all,
> > Could it be that plugins or pages get parsed more than 1 time at a
> > request. I'm running a self made plugin which does some database
> > changes. Stupid thing is, it does it two or three times
> every time I
> > call the page. I first thought something in my code was
> doing this but
> > I've disabled everything and only let the plugin write the current
> > date and time to a file. And as I thought - this is done
> two or three
> > times when the page is requested.
> > I think it has to do with the caching system of typo3 in
> > with different urls. Because if I request the page with a dummy GET
> > variable, different date and time (2 or
> > 3 seconds difference) are written to the file three times.
> > Then if I refresh the page. (GET variable does not change),
> the date
> > and time get written once!! If I request the page again with a
> > different value in the get variable the problem occures again.
> > What could be the problem here? I've excluded that the page gets
> > forwarded by the browser or any code in the plugin.
> > Greetz,
> > Robert
> > _______________________________________________
> > TYPO3-dev mailing list
> > TYPO3-dev at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
More information about the TYPO3-english