[TYPO3-dev] typo3 restarts a script?
Robert John de Stigter
robertjohn at bedrijvenweb.nl
Fri Mar 31 15:58:43 CEST 2006
Hi all,
I have a question about what can happen when the backend session times
out.
I use a mailscript which I call from the backend and it takes about 2
too 3 hours to run. The script sets the session time limit to unlimited
with: set_time_limit(0); and I've also set the bacend session timeout to
3 hours: $TYPO3_CONF_VARS["BE"]["sessionTimeout"] = '10800'; This all to
make sure the script won't get interrupted during the proces.
The scripts starts after I post a form with several data used for the
mailing (sendername ,email, etc). Strange thing is I started the script
at 4pm and at 5pm the exact script with the exact POST data starts to
run on the server. Result: everbody got the email twice. The script
that started to run at 5pm didn't interrupt the one that started at 4pm
because the logfiles are both complete and exact the same. Only one is
an hour younger than the other. I've excluded that somebody else could
have started the script from another computer.
Now comes my question. Is it possible that TYPO3 called for the page
sending the same post data for some reason? Maybe because the back-end
session was timed-out? Any typo3-javascript that could have done it? To
me it's a very strange situation, I can't figure out how that the script
that ran at 5pm was started.
Thanks,
Robert
More information about the TYPO3-dev
mailing list