[PHPTMP] Creating alot session

Besoin d'aide pour le script ? L'installation ? C'est par ici !
Règles du forum
Indiquez toujours votre nom de domaine lorsque vous faites une demande d'aide.
L'aide est réservée à ceux qui possèdent une licence à jour

[PHPTMP] Creating alot session

Messagede chorao157 » Jeu 11 Aoû 2016 21:39

The time I see that the scrip is creating many files in the / tmp php . How to fix it?

Image
chorao157
 
Messages: 21
Inscription: Mar 29 Mar 2016 20:26

Publicité

[PHPTMP] Creating alot session

Publicité

sg-autorepondeur.com
 

Re: [PHPTMP] Creating alot session

Messagede creadunet » Mer 17 Aoû 2016 07:43

Why do you think it's a problem ?
Session are created for each member.
It avoid to put data in database.
creadunet
Administrateur du site
 
Messages: 2094
Inscription: Mer 29 Avr 2009 07:37

Re: [PHPTMP] Creating alot session

Messagede chorao157 » Mer 17 Aoû 2016 12:31

Because it is taking up space on HD, and my host has only 2 HD gigas . Why not make the session times out after 60 seconds ? I have more than 1 million traffic per day , and have to keep wiping it all the time .
chorao157
 
Messages: 21
Inscription: Mar 29 Mar 2016 20:26

Re: [PHPTMP] Creating alot session

Messagede creadunet » Mer 17 Aoû 2016 13:16

It take not so much space, because it's a lot of very small files.
If you have problem, verify session are well deleted by your server, when unused.

You can force them with PHP settings (but I don't remember exactly where).
creadunet
Administrateur du site
 
Messages: 2094
Inscription: Mer 29 Avr 2009 07:37


Retourner vers Aide script PTP



cron